Previous  Next

MathSwap

Change the order of bytes in the ushort type value.

ushort  MathSwap(
   ushort  value      // value
   );

Parameters

value

[in]  Value for changing the order of bytes.

Return Value

ushort value with the reverse byte order.

MathSwap

Change the order of bytes in the uint type value.

uint  MathSwap(
   uint   value      // value
   );

Parameters

value

[in]  Value for changing the order of bytes.

Return Value

uint value with the reverse byte order.

MathSwap

Change the order of bytes in the ulong type value.

ulong  MathSwap(
   ulong  value      // value
   );

Parameters

value

[in]  Value for changing the order of bytes.

Return Value

ulong value with the reverse byte order.

See also

Network functions, SocketRead, SocketSend, SocketTlsRead, SocketTlsReadAvailable, SocketTlsSend