fromNative
Convert a value from native endianness to file endianness.
This template function converts an integral value from the host system's native endianness to the specified file endianness.
Parameters
value | The value in native endianness. |
fileEndian | The endianness to convert to. |
Returns
The value converted to file endianness.