stLEToCPU32 macro
Declaration
#define stLEToCPU32(
  Value
)
Parameters
Value

The 32-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 32-bit number from Little Endian format into the native format used by the CPU.

If the host processor operates in Big Endian mode, the macro invokes the stSwap32 function to reverse the byte order of the specified value. If the processor operates in Little 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.

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