Class HDFNBITCompInfo


public class HDFNBITCompInfo extends HDFNewCompInfo

This class is a container for the parameters to the HDF ``NBIT'' compression class.

In this case, the information needed is the number type, the sign extension, the fill bit, the start bit, and the number of bits to store.

  • Field Details

    • nt

      public int nt
      number type of the data to encode
    • sign_ext

      public int sign_ext
      whether to sign extend or not
    • fill_one

      public int fill_one
      whether to fill with 1's or 0's
    • start_bit

      public int start_bit
      offset of the start bit in the data
    • bit_len

      public int bit_len
      number of bits to store
  • Constructor Details

    • HDFNBITCompInfo

      public HDFNBITCompInfo()
    • HDFNBITCompInfo

      public HDFNBITCompInfo(int Nt, int Sign_ext, int Fill_one, int Start_bit, int Bit_len)