C:/quickbuild-1.2.13/working/root/Docs/TGEA_Offline_Docs/checkouts/engine/source/core/util/endian.h File Reference

#include "platform/types.h"

Functions

U8 endianSwap (const U8 in_swap)
S8 endianSwap (const S8 in_swap)
U16 endianSwap (const U16 in_swap)
 Convert the byte ordering on the U16 to and from big/little endian format.
S16 endianSwap (const S16 in_swap)
U32 endianSwap (const U32 in_swap)
 Convert the byte ordering on the U32 to and from big/little endian format.
S32 endianSwap (const S32 in_swap)
U64 endianSwap (const U64 in_swap)
S64 endianSwap (const S64 in_swap)
F32 endianSwap (const F32 in_swap)
F64 endianSwap (const F64 in_swap)


Function Documentation

U8 endianSwap ( const U8  in_swap  )  [inline]

S8 endianSwap ( const S8  in_swap  )  [inline]

U16 endianSwap ( const U16  in_swap  )  [inline]

Convert the byte ordering on the U16 to and from big/little endian format.

Parameters:
in_swap Any U16
Returns:
swapped U16.

S16 endianSwap ( const S16  in_swap  )  [inline]

U32 endianSwap ( const U32  in_swap  )  [inline]

Convert the byte ordering on the U32 to and from big/little endian format.

Parameters:
in_swap Any U32
Returns:
swapped U32.

S32 endianSwap ( const S32  in_swap  )  [inline]

U64 endianSwap ( const U64  in_swap  )  [inline]

S64 endianSwap ( const S64  in_swap  )  [inline]

F32 endianSwap ( const F32  in_swap  )  [inline]

F64 endianSwap ( const F64  in_swap  )  [inline]