Swaps the endianness of the provided value, if applicable.
The value to swap endianness.
The desired endianness.
The value with swapped endianness.
See Implementation
Swaps the endianness of the provided value, if applicable.