Package hdf.hdflib

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 Summary

      Fields 
      Modifier and Type Field Description
      int bit_len
      number of bits to store
      int fill_one
      whether to fill with 1's or 0's
      int nt
      number type of the data to encode
      int sign_ext
      whether to sign extend or not
      int start_bit
      offset of the start bit in the data
    • Constructor Summary

      Constructors 
      Constructor Description
      HDFNBITCompInfo()  
      HDFNBITCompInfo​(int Nt, int Sign_ext, int Fill_one, int Start_bit, int Bit_len)  
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • 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 Detail

      • HDFNBITCompInfo

        public HDFNBITCompInfo()
      • HDFNBITCompInfo

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