Documentation

This is machine translation

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

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan 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. type_order can be one of the following values:

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);
Was this topic helpful?