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

H5T_GET_SIZE

The H5T_GET_SIZE function returns the size of a datatype in bytes.

Syntax

Result = H5T_GET_SIZE(Datatype_id)

Return Value

Represents the size (in bytes) of the first element found within the datatype.

Note: When H5T_GET_SIZE is given a datatype containing a string, it will return the number of characters + 1.

Arguments

Datatype_id

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

Keywords

None

Version History

5.6

Introduced

See Also

H5T_GET_CLASS , H5T_GET_SUPER