Function to handling different endian machines.
More...
Go to the source code of this file.
|
static constexpr uint16_t | FROM_BE16 (uint16_t x) |
|
static constexpr uint32_t | FROM_BE32 (uint32_t x) |
|
static constexpr uint16_t | TO_BE16 (uint16_t x) |
|
static constexpr uint32_t | TO_BE32 (uint32_t x) |
|
static constexpr uint16_t | FROM_LE16 (uint16_t x) |
|
static constexpr uint32_t | FROM_LE32 (uint32_t x) |
|
static constexpr uint16_t | TO_LE16 (uint16_t x) |
|
static constexpr uint32_t | TO_LE32 (uint32_t x) |
|
Function to handling different endian machines.
Definition in file endian_func.hpp.
◆ FROM_BE16()
static constexpr uint16_t FROM_BE16 |
( |
uint16_t |
x | ) |
|
|
staticconstexpr |
◆ FROM_BE32()
static constexpr uint32_t FROM_BE32 |
( |
uint32_t |
x | ) |
|
|
staticconstexpr |
◆ FROM_LE16()
static constexpr uint16_t FROM_LE16 |
( |
uint16_t |
x | ) |
|
|
staticconstexpr |
◆ FROM_LE32()
static constexpr uint32_t FROM_LE32 |
( |
uint32_t |
x | ) |
|
|
staticconstexpr |
◆ TO_BE16()
static constexpr uint16_t TO_BE16 |
( |
uint16_t |
x | ) |
|
|
staticconstexpr |
◆ TO_BE32()
static constexpr uint32_t TO_BE32 |
( |
uint32_t |
x | ) |
|
|
staticconstexpr |
◆ TO_LE16()
static constexpr uint16_t TO_LE16 |
( |
uint16_t |
x | ) |
|
|
staticconstexpr |
◆ TO_LE32()
static constexpr uint32_t TO_LE32 |
( |
uint32_t |
x | ) |
|
|
staticconstexpr |