stSwap16 function
Declaration:
INLINE UINT16 stSwap16(
  UINT16 Value
);
Parameters:
Value

Value to be swapped.

Return value:

Function returns swapped value.

Description:

Function returns the given 16-bit value with the inversed byte sequence. It should not be used for endiannes conversion. Special macros should be used for this purpose.

Function will not be compiled in case the functions responsible for byte ordering are inactivated by setting ST_USE_ENDIANS to 0.

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