stBEToCPU64 macro
Declaration
#define stBEToCPU64(
  Value
)
Parameters
Value

The 64-bit value to convert to the CPU's native byte ordering.

Return value

Returns the value converted to the host CPU's endianness.

Description

This macro converts a 64-bit number from Big Endian format into the native format used by the CPU.

If the host processor operates in Little Endian mode, the macro invokes the stSwap64 function to reverse the byte order of the specified value. If the processor operates in Big Endian mode, the value remains unmodified.

This macro is excluded from compilation if the byte ordering module is disabled by setting the ST_USE_ENDIANS configuration constant to 0, or if 64-bit integer support is disabled by setting AR_USE_64_BIT to 0.

Version:1.0
Header file:ST_Endian.h (include ST_API.h)
See also: AR_USE_64_BIT, byte ordering, ST_USE_ENDIANS, stSwap64
SpaceShadow documentation