Quantcast

Documentation Center

  • Trial Software
  • Product Updates

H5T.get_offset

Bit offset of first significant bit

Syntax

offset = H5T.get_offset(type_id)

Description

offset = H5T.get_offset(type_id) returns the offset of the first significant bit. type_id is a data type identifier.

Examples

 fid = H5F.open('example.h5');
 dset_id = H5D.open(fid,'/g3/float');
 type_id = H5D.get_type(dset_id);
 offset = H5T.get_offset(type_id);

See Also

Was this topic helpful?