endian Class Reference

Static Public Member Functions

static bool isBig ()
 Runtime check for big endian. More...
 
static bool isLittle ()
 Runtime check for little endian. More...
 
static uint32_t swap32 (uint32_t)
 Byte endian swapping for 32-bits. More...
 
static uint64_t swap64 (uint64_t)
 Byte endian swapping for 64-bits. More...
 

Detailed Description

Definition at line 71 of file endian.H.

Member Function Documentation

◆ isBig()

bool isBig ( )
inlinestatic

Runtime check for big endian.

Definition at line 43 of file endianI.H.

◆ isLittle()

bool isLittle ( )
inlinestatic

Runtime check for little endian.

Definition at line 52 of file endianI.H.

◆ swap32()

uint32_t swap32 ( uint32_t  u)
inlinestatic

Byte endian swapping for 32-bits.

Definition at line 61 of file endianI.H.

Referenced by legacyRawFormatter::write().

Here is the caller graph for this function:

◆ swap64()

uint64_t swap64 ( uint64_t  u)
inlinestatic

Byte endian swapping for 64-bits.

Definition at line 83 of file endianI.H.

Referenced by legacyRawFormatter::write().

Here is the caller graph for this function:

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