question: public static void checkSignature ( DataInput dataInput ) throws IOException { if ( dataInput . readInt ( ) != SIGNATURE1 || dataInput . readInt ( ) != SIGNATURE2 ) { throw new IllegalStateException ( "Signature bytes do not match" ) ; } }
target:  Check the signature of a data source