fn nativeToBig(comptime T: type, x: T) T

Converts an integer which has host endianness to big endian.

Parameters

T: type,
x: T,