muu/byte_reverse.h file

Contains the definition of muu::byte_reverse().

Namespaces

namespace muu
The root namespace for all muu functions and types.

Functions

template <typename T>
auto byte_reverse(T val) -> T constexpr noexcept
Reverses the byte order of an unsigned integral type.