chsvlib
chsv helper source code
◆
byte_swap()
[1/2]
constexpr T Chusov::Memory::byte_swap
(
T
x
)
constexpr
noexcept
Swaps bytes of the specified object of the standard-layout type T.
Template Parameters
T
is a type of an object specified by the swapped bytes.
Parameters
[in]
x
is an object specified by the plain sequence of bytes to be swapped.
Returns
A copy of an object which is the result of byte-swapping of
x
.
Chusov
Memory
Generated on Wed Mar 22 2023 01:03:42 for chsvlib by
1.9.1