public static void dumpBlockData ( int headerSize , int blockSize , byte [ ] data ) { if ( data != null ) { System . out . println ( ByteArrayHelper . hexdump ( data , 0 , headerSize , false ) ) ; int index = headerSize ; while ( index < data . length ) { System . out . println ( ByteArrayHelper . hexdump ( data , index , blockSize , false ) ) ; index += blockSize ; } } }
Dumps the contents of a structured block made up from a header and fixed sized records .