@bswap

@bswap

@bswap(comptime T: type, value: T) T

T must be an integer type with bit count evenly divisible by 8.

Swaps the byte order of the integer. This converts a big endian integer to a little endian integer, and converts a little endian integer to a big endian integer.