Routines (alphabetical) > Routines: H > HDF5 Routines > H5T_GET_PAD

# H5T_GET_PAD

The H5T_GET_PAD function returns the padding method of the least significant bit (lsb) and most significant bit (msb) of an atomic datatype.

## Syntax

Result = H5T_GET_PAD(Datatype_id)

## Return Value

Returns a two-element vector [lsb, msb]. Possible values are:

- 0 — Background set to zeroes
- 1 — Background set to ones
- 2 — Background left unchanged.

## Arguments

### Datatype_id

An integer representing the datatype’s identifier to be queried.

## Keywords

None

## Version History

5.6 | Introduced

## See Also

H5T_GET_INPAD, H5T_GET_ORDER, H5T_GET_PRECISION