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

Converts an integer which has host endianness to little endian.

Parameters

T: type,
x: T,