Class HDFNBITCompInfo
java.lang.Object
hdf.hdflib.HDFCompInfo
hdf.hdflib.HDFNewCompInfo
hdf.hdflib.HDFNBITCompInfo
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
FieldsModifier and TypeFieldDescriptionintnumber of bits to storeintwhether to fill with 1's or 0'sintnumber type of the data to encodeintwhether to sign extend or notintoffset of the start bit in the dataFields inherited from class hdf.hdflib.HDFNewCompInfo
ctype -
Constructor Summary
ConstructorsConstructorDescriptionHDFNBITCompInfo(int Nt, int Sign_ext, int Fill_one, int Start_bit, int Bit_len) -
Method Summary
-
Field Details
-
nt
public int ntnumber type of the data to encode -
sign_ext
public int sign_extwhether to sign extend or not -
fill_one
public int fill_onewhether to fill with 1's or 0's -
start_bit
public int start_bitoffset of the start bit in the data -
bit_len
public int bit_lennumber 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)
-