code: 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;
           }
        }
     }
docs: Dumps the contents of a structured block made up from a header
  and fixed sized records.
  
  @param headerSize header zie
  @param blockSize block size
  @param data data block