botan.utils.bswap

Byte Swapping Operations

Members

Functions

bswap4
void bswap4(uint[4] x)

Swap 4 uints in an array using SSE2 shuffle instructions

bswap4
void bswap4(T[4] x)

Swap 4 Ts in an array

reverseBytes
ushort reverseBytes(ushort val)

Swap a 16 bit integer

reverseBytes
uint reverseBytes(uint val)

Swap a 32 bit integer

reverseBytes
ulong reverseBytes(ulong val)

Swap a 64 bit integer

Meta

License

Botan is released under the Simplified BSD License (see LICENSE.md)