Template Function TRAP::Utils::Memory::SwapBytes(Iter, Iter)#
Function Documentation#
-
template<typename Iter>
constexpr void TRAP::Utils::Memory::SwapBytes(Iter begin, Iter end)# Converts all primitive data types in the container from big->little or little->big endian depending on given parameters endianness.
- Template Parameters:
Iter – Container iterator type.
- Parameters:
begin – Start of the container.
end – End of the container.