NDDEM
|
Functions | |
std::uint8_t | is_little_endian () |
Returns true if the current machine is little endian. More... | |
template<std::size_t DataSize> | |
void | swap_bytes (std::uint8_t *data) |
Swaps the order of bytes for some chunk of memory. More... | |
|
inline |
Returns true if the current machine is little endian.
|
inline |
Swaps the order of bytes for some chunk of memory.
data | The data as a uint8_t pointer |
DataSize | The true size of the data |