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