Original Symbian headers
Selected EUSER, Window Server, networking, graphics and device declarations
Loading...
Searching...
No Matches
ByteOrder Class Reference

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

#include <es_sock.h>

Static Public Member Functions

static IMPORT_C TUint32 Swap32 (TUint32 aVal)
 Reverses the order of the bytes in a 32-bit value.
 
static IMPORT_C TUint16 Swap16 (TUint16 aVal)
 Reverses the order of the bytes in a 16-bit value.
 
static TUint16 Swap16 (TUint aVal)
 Reverses the order of the bytes in a 16-bit value.
 

Detailed Description

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

API status
Published to all clients. Released API.

Definition at line 1645 of file es_sock.h.

Member Function Documentation

◆ Swap16() [1/2]

static TUint16 ByteOrder::Swap16 ( TUint  aVal)
inlinestatic

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

Parameters
aValThe value to reverse.

(generated from Symbian Developer Library)

◆ Swap16() [2/2]

static IMPORT_C TUint16 ByteOrder::Swap16 ( TUint16  aVal)
static

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

Parameters
aValThe value to reverse.

(generated from Symbian Developer Library)

◆ Swap32()

static IMPORT_C TUint32 ByteOrder::Swap32 ( TUint32  aVal)
static

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

Parameters
aValThe value to reverse.

(generated from Symbian Developer Library)


The documentation for this class was generated from the following files: