ByteOrder Class Reference

class ByteOrder

Reverses the byte order in 16 and 32-bit values.

Public Member Functions
IMPORT_C TUint16Swap16(TUint16)
TUint16 Swap16(TUint)
IMPORT_C TUint32Swap32(TUint32)

Member Functions Documentation

Swap16(TUint16)

IMPORT_C TUint16Swap16(TUint16aVal)[static]

Parameters

TUint16 aVal

Swap16(TUint)

TUint16 Swap16(TUintaVal)[static, inline]

Reverses the order of the bytes in a 16-bit value.

The reversed value.

Parameters

TUint aValThe value to reverse.

Swap32(TUint32)

IMPORT_C TUint32Swap32(TUint32aVal)[static]

Parameters

TUint32 aVal