Please, help us to better serve our user community by answering the following short survey: https://www.hdfgroup.org/website-survey/

| HDF 4.3.0 API Reference |

Loading...
Searching...
No Matches
Public Member Functions | Data Fields
HDFNBITCompInfo Class Reference

## Detailed Description

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.

Inheritance diagram for HDFNBITCompInfo:

## Public Member Functions
| HDFNBITCompInfo ()
| HDFNBITCompInfo (int Nt, int Sign_ext, int Fill_one, int Start_bit, int Bit_len)
Public Member Functions inherited from HDFNewCompInfo
| HDFNewCompInfo ()
Public Member Functions inherited from HDFCompInfo
| HDFCompInfo ()

## Data Fields
int | nt
int | sign_ext
int | fill_one
int | start_bit
int | bit_len
Data Fields inherited from HDFNewCompInfo
int | ctype
Data Fields inherited from HDFCompInfo
int | ctype

## Constructor & Destructor Documentation

## ◆ HDFNBITCompInfo() [1/2]

HDFNBITCompInfo | ( |  | ) |

## ◆ HDFNBITCompInfo() [2/2]

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

## Field Documentation

## ◆ bit_len

int bit_len

number of bits to store

## ◆ fill_one

int fill_one

whether to fill with 1's or 0's

## ◆ nt

int nt

number type of the data to encode

## ◆ sign_ext

int sign_ext

whether to sign extend or not

## ◆ start_bit

int start_bit

offset of the start bit in the data

The documentation for this class was generated from the following file:

- java/src/hdf/hdflib/HDFNBITCompInfo.java