This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

H5T.set_order

Set byte ordering of atomic data type

Syntax

H5T.set_order(type_id,type_order)

Description

H5T.set_order(type_id,type_order) sets the byte ordering of an atomic data type. Specify type_order as one of these character vectors or string scalars.

'H5T_ORDER_LE'
'H5T_ORDER_BE'
'H5T_ORDER_VAX'

Examples

Create a big endian 32-bit integer type.

type_id = H5T.copy('H5T_NATIVE_INT');
order = H5ML.get_constant_value('H5T_ORDER_BE');
H5T.set_order(type_id,order);