FROM_LITTLE_ENDIAN2

Table of Contents

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.

Parameters

NameDirectionDescription
xin16-bit value in little-endian format

Success

Returns value in native byte order.

Failure

Function cannot fail - pure bitwise operation.

Usage example (Cross-references)

No external code usages found in the scanned files.

Share :

Related Posts

INVERT_ENDIANNESS4

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

Read More

INVERT_ENDIANNESS2

INVERT_ENDIANNESS2 Description Inverts endianness of 16-bit (2-byte) value.

Read More

TO_UPPER

TO_UPPER Description Converts a character to uppercase.

Read More