The H5T_GET_STRPAD function returns the padding method for a string datatype.

Syntax


Result = H5T_GET_STRPAD(Datatype_id)

Return Value


Returns a string containing the padding method. Possible values are:

  • ‘NULLTERM’: Null terminate (like C)
  • ‘NULLPAD’: Pad with zeroes
  • ‘SPACEPAD’: Pad with spaces (like FORTRAN)
  • ‘ERROR’

Arguments


Datatype_id

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

Keywords


None

Version History


5.6

Introduced

See Also


H5T_GET_CSET, H5T_GET_SIZE