Converts bytes between system and the given endianness.
This essentially flips the byte-order within the type if the given endianness does not match the system endiannes.
The value to potentially flip.
If endian does not match NATIVE_ENDIAN, returns the input with the byte order reversed, otherwise returns the original value.
See Implementation
Converts bytes between system and the given endianness.
This essentially flips the byte-order within the type if the given endianness does not match the system endiannes.