#include <cstdint>
#include <concepts>
#include <cstring>
#include <endian.h>
Go to the source code of this file.
◆ htonll
◆ ntohll
◆ O2_BIG_ENDIAN
#define O2_BIG_ENDIAN __BIG_ENDIAN |
◆ O2_HOST_BYTE_ORDER
#define O2_HOST_BYTE_ORDER __BYTE_ORDER |
◆ O2_LITTLE_ENDIAN
#define O2_LITTLE_ENDIAN __LITTLE_ENDIAN |
◆ swap16_
◆ swap32_
◆ swap64_
◆ doSwap() [1/3]
uint16_t doSwap |
( |
std::same_as< uint16_t > auto |
x | ) |
|
|
inline |
◆ doSwap() [2/3]
uint32_t doSwap |
( |
std::same_as< uint32_t > auto |
x | ) |
|
|
inline |
◆ doSwap() [3/3]
uint64_t doSwap |
( |
std::same_as< uint64_t > auto |
x | ) |
|
|
inline |
◆ doSwapCopy_()
◆ swapCopy()