Template Function wt::format::byteswap¶ Defined in File utils.hpp Function Documentation¶ template<std::integral T>constexpr T wt::format::byteswap(T n) noexcept¶ From c++23: Reverses the bytes in the given integer value n. Call is ill-formed if T has padding bits. Returns: an integer value of type T whose object representation comprises the bytes of that of n in reversed order.