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

# H5T_GET_ORDER

The H5T_GET_ORDER function returns the byte order of an atomic datatype.

## Syntax

Result = H5T_GET_ORDER(Datatype_id)

## Return Value

Returns a string representing the byte order. Possible values are:

- ‘LE’ — Little endian
- ‘BE’ — Big endian
- ‘VAX’ — VAX mixed ordering
- ‘NONE’
- ‘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_INPAD, H5T_GET_PAD, H5T_GET_PRECISION