ByteOrder Class Reference

class ByteOrder

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

Member Functions Documentation

Swap16(TUint16)

IMPORT_C TUint16 Swap16 ( TUint16 aVal ) [static]

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

Parameters

TUint16 aVal The value to reverse.

Swap16(TUint)

TUint16 Swap16 ( TUint aVal ) [static, inline]

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

Parameters

TUint aVal The value to reverse.

Swap32(TUint32)

IMPORT_C TUint32 Swap32 ( TUint32 aVal ) [static]

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

Parameters

TUint32 aVal The value to reverse.