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.
| Modifier and Type | Field and 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
|
ctype| Constructor and Description |
|---|
HDFNBITCompInfo() |
HDFNBITCompInfo(int Nt,
int Sign_ext,
int Fill_one,
int Start_bit,
int Bit_len) |
public int nt
public int sign_ext
public int fill_one
public int start_bit
public int bit_len