Function TRAP::Utils::Memory::SwapBytes(std::integral auto&)#
Function Documentation#
-
constexpr void TRAP::Utils::Memory::SwapBytes(std::integral auto &t)#
Converts primitive data types from big->little or little->big endian depending on given parameters endianness.
- Parameters:
t – Primitive data type.