TO_LITTLE_ENDIAN2

Table of Contents

TO_LITTLE_ENDIAN2

Description

Conditionally converts value from native byte order to little-endian. On big-endian systems, this inverts the byte order. On little-endian systems, this is a no-op.

Parameters

NameDirectionDescription
xin16-bit value in native byte order

Success

Returns value in little-endian format.

Failure

Function cannot fail - pure bitwise operation.

Usage example (Cross-references)

No external code usages found in the scanned files.

Share :

Related Posts

FROM_LITTLE_ENDIAN2

FROM_LITTLE_ENDIAN2 Description Conditionally converts value from little-endian to native byte order. On big-endian systems, this inverts the byte order. On little-endian systems, this is a no-op.

Read More

FROM_LITTLE_ENDIAN4

FROM_LITTLE_ENDIAN4 Description Conditionally converts value from little-endian to native byte order. On big-endian systems, this inverts the byte order. On little-endian systems, this is a no-op.

Read More

INVERT_ENDIANNESS4

INVERT_ENDIANNESS4 Description Inverts endianness of 32-bit (4-byte) value.

Read More