fn toNative(comptime T: type, x: T, endianness_of_x: Endian) T
Converts an integer from specified endianness to host endianness.
T: type,
x: T,
endianness_of_x: Endian,