38 #ifndef Foam_foamEndian_H 39 #define Foam_foamEndian_H 74 inline static uint32_t
swap32(uint32_t);
77 inline static uint64_t
swap64(uint64_t);
static uint32_t swap32(uint32_t)
Byte endian swapping for 32-bits.
static bool isLittle() noexcept
Runtime check for little endian.
Define WM_BIG_ENDIAN or WM_LITTLE_ENDIAN and forward declare Foam::endian class.
static bool isBig() noexcept
Runtime check for big endian.
Help with architecture-specific aspects, primarily used as a namespace, but defined as a class to all...
static uint64_t swap64(uint64_t)
Byte endian swapping for 64-bits.