Class HDTArrayLog64


  • class HDTArrayLog64
    extends HDTArray
    Log64

    It contains the data part of the HDTArray, followed by the 32-bit CRC calculated over this data.

    Data structure:

     ...+---------+-------+
        | entries | CRC32 |
     ...+---------+-------+
     

    Entries are stored little-endian, with each entry using nrbits bits

    • Field Detail

      • buffer

        private byte[] buffer
    • Constructor Detail

      • HDTArrayLog64

        HDTArrayLog64()
    • Method Detail

      • getType

        protected int getType()
        Description copied from class: HDTArray
        Get the type of the array
        Specified by:
        getType in class HDTArray
        Returns:
        byte
      • get

        protected int get​(int i)
        Description copied from class: HDTArray
        Get entry from this array
        Specified by:
        get in class HDTArray
        Parameters:
        i - zero-based index
        Returns:
        entry
      • parse

        protected void parse​(java.io.InputStream is)
                      throws java.io.IOException
        Description copied from class: HDTPart
        Parse from input stream
        Overrides:
        parse in class HDTArray
        Throws:
        java.io.IOException