Function std::byteswap#
Function Documentation#
-
constexpr std::integral auto std::byteswap(std::integral auto n) noexcept#
Reverses the bytes in the given integer value n.
- Parameters:
n – Integer value.
- Returns:
An integer value of type T whose object representation comprises the bytes of that of n in reversed order.