TO_BIG_ENDIAN2

Table of Contents

TO_BIG_ENDIAN2

Description

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

Parameters

NameDirectionDescription
xin16-bit value in native byte order

Success

Returns value in big-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_BIG_ENDIAN4

FROM_BIG_ENDIAN4 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

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

FROM_LITTLE_ENDIAN8

FROM_LITTLE_ENDIAN8 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