Package hdf.hdflib
Class HDFNBITCompInfo
- java.lang.Object
-
- hdf.hdflib.HDFCompInfo
-
- hdf.hdflib.HDFNewCompInfo
-
- hdf.hdflib.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 storeint
fill_one
whether to fill with 1's or 0'sint
nt
number type of the data to encodeint
sign_ext
whether to sign extend or notint
start_bit
offset of the start bit in the data-
Fields inherited from class hdf.hdflib.HDFNewCompInfo
ctype
-
-
Constructor Summary
Constructors Constructor Description HDFNBITCompInfo()
HDFNBITCompInfo(int Nt, int Sign_ext, int Fill_one, int Start_bit, int Bit_len)
-
-
-
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
-
-