stSwap32 function
Declaration
INLINE UINT32 stSwap32(
  UINT32 Value
);
Parameters
Value

The 32-bit value to swap.

Return value

Returns the value with its byte order reversed.

Description

This function reverses the byte sequence of the specified 32-bit value. It is a low-level primitive and should not be used directly for generic endianness conversion; specific macros (such as stLEToCPU32) should be used for that purpose to ensure architectural portability.

This function 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, INLINE, ST_USE_ENDIANS, UINT32
SpaceShadow documentation