question: protected void readStreamHeader ( ) throws IOException , StreamCorruptedException { if ( input . readShort ( ) == STREAM_MAGIC && input . readShort ( ) == STREAM_VERSION ) { return ; } throw new StreamCorruptedException ( ) ; }
target:  Reads and validates the ObjectInputStream header from the source stream.