Skip to content

Function convert_endianness

function convert_endianness(T *, size_t) base

template <typename T>
void convert_endianness(T* data, size_t size)

Reverses the byte order (endianness) of a contiguous array of values in place.

Template parameters
T Element type. Must be supported by the vectorized swap routine.
Parameters
data Pointer to the first element. Modified in place.
size Number of elements in data.

Fully qualified name: kfr::convert_endianness(T *, size_t)

This file was generated by cxxdox, a C++ documentation generator based on MkDocs Material and libclang.