stLEToCPU32 macro
Declaration:
#define stLEToCPU32(
  Value
)
Parameters:
Value

Value to be converted in to CPU specific byte ordering.

Return value:

Macro returns swapped value.

Description:

Macro is responsible for changing the format of 32-bit number from little-endian into the format used by CPU.

In case macro is used on processor that works in big-endian, stSwap32 function will be used during conversion. It inverts byte ordering of the specified value. If macro is used on processor that works in little-endian, the macro will not modify the value.

Macro will not be compiled when the functions responsible for byte ordering are excluded from compilation, by setting ST_USE_ENDIANS to 0.

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