Documentation Center

  • Trial Software
  • Product Updates

H5T.set_offset

Set bit offset of first significant bit

Syntax

H5T.set_offset(type_id,offset)

Description

H5T.set_offset(type_id,offset) sets the bit offset of the first significant bit. type_id is the identifier of the data type. offset specifies the number of bits of padding that appear.

Examples

type_id = H5T.copy('H5T_NATIVE_INT');
H5T.set_offset(type_id,16);

See Also

Was this topic helpful?