fn nativeToBig(comptime T: type, x: T) T
Converts an integer which has host endianness to big endian.
T: type,
x: T,