Nix (Dev) 3.5.10
dev - 3.5.10 - 1af9301
|
Functions | |
constexpr uint16_t | reverseBytes (const uint16_t x) |
constexpr uint32_t | reverseBytes (const uint32_t x) |
constexpr uint64_t | reverseBytes (const uint64_t x) |
|
constexpr |
Swap a 16-bit integer
|
constexpr |
Swap a 32-bit integer
We cannot use MSVC's _byteswap_ulong because it does not consider the builtin to be constexpr.
|
constexpr |
Swap a 64-bit integer
We cannot use MSVC's _byteswap_uint64 because it does not consider the builtin to be constexpr.