Class CRCedChunk

    • Field Detail

      • type

        private byte[] type
      • crc_table

        private static final long[] crc_table
      • crc_table_computed

        private static boolean crc_table_computed
    • Constructor Detail

      • CRCedChunk

        public CRCedChunk​(byte[] type)
                   throws java.security.InvalidParameterException
        Throws:
        java.security.InvalidParameterException
    • Method Detail

      • getContentPayload

        public abstract byte[] getContentPayload()
      • make_crc_table

        private static void make_crc_table()
      • update_crc

        private static long update_crc​(long crc,
                                       java.nio.ByteBuffer buf)
      • crc

        private static long crc​(java.nio.ByteBuffer buf)