Template Function TRAP::Utils::Memory::ConvertBytes#
Function Documentation#
-
template<typename InputIt, typename OutputIt>
static void TRAP::Utils::Memory::ConvertBytes(InputIt begin, InputIt end, OutputIt output)# Converts all bytes from begin to end iterators to the given type from the output iterator and stores the resulting data in output.
Note
Byte order depends on the given input bytes.
Note
The output container must be big enough to hold the converted data.
- Template Parameters:
InputIt – Container input iterator type.
OutputIt – Container output iterator type.
- Parameters:
begin – Start of the input container.
end – End of the input container.
output – Type to convert to and store the converted data.