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 Details

    • buffer

      private byte[] buffer
  • Constructor Details

    • HDTArrayLog64

      HDTArrayLog64()
  • Method Details

    • 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(InputStream is) throws IOException
      Description copied from class: HDTPart
      Parse from input stream
      Overrides:
      parse in class HDTArray
      Parameters:
      is -
      Throws:
      IOException