Location:
ES_SOCK.H
Link against: esock.lib
class ByteOrder;
Description
Reverses the byte order in 16 and 32-bit values.
Members
Defined in ByteOrder:
Swap16(), Swap16(), Swap32()
static IMPORT_C TUint32 Swap32(TUint32 aVal);
Description
Reverses the order of the bytes in a 32-bit value.
Parameters
Return value
static IMPORT_C TUint16 Swap16(TUint16 aVal);
Description
Reverses the order of the bytes in a 16-bit value.
Parameters
Return value
static inline TUint16 Swap16(TUint aVal);
Description
Reverses the order of the bytes in a 16-bit value.
Parameters
TUint aVal |
The value to reverse. |
|
Return value