boolean function ( byte [ ] arg0 ) { if ( arg0 . length != 8 ) return false ; for ( int loc0 = 0 ; loc0 < 8 ; loc0 ++ ) if ( signature [ loc0 ] != arg0 [ loc0 ] ) return false ; return true ; }
check 8 bytes to see if it 's a valid png header . concode_field_sep byte[] signature concode_elem_sep boolean hasPalette concode_elem_sep Vector chunks concode_elem_sep int width concode_elem_sep PNGHeader header concode_elem_sep PNGDecoder decoder concode_elem_sep BufferedImage sourceImage concode_elem_sep PNGEncoder encoder concode_elem_sep byte[] endChunk concode_elem_sep int height concode_field_sep BufferedImage getBufferedImage concode_elem_sep void writePNG concode_elem_sep PNGPalette getPalette concode_elem_sep ColorSpace getColorSpace