FROM_BIG_ENDIAN2

Table of Contents

FROM_BIG_ENDIAN2

Description

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

Parameters

NameDirectionDescription
xin16-bit value in big-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

TO_UPPER

TO_UPPER Description Converts a character to uppercase.

Read More

INVERT_ENDIANNESS2

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

Read More

IS_LITTLE_ENDIAN

IS_LITTLE_ENDIAN Description Compile-time endianness detection.

Read More