question: protected void checkSignature ( byte [ ] buf ) { if ( ! Arrays . equals ( buf , PngHelperInternal . getPngIdSignature ( ) ) ) throw new PngjInputException ( "Bad PNG signature" ) ; }
target:  Throws PngjInputException if bad signature