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

IS_LITTLE_ENDIAN

IS_LITTLE_ENDIAN Description Compile-time endianness detection.

Read More

FROM_BIG_ENDIAN8

FROM_BIG_ENDIAN8 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.

Read More

TO_LOWER

TO_LOWER Description Converts a character to lowercase.

Read More