There was an error while loading. Please reload this page.
machine/endian.adept contains endianness utilities.
machine/endian.adept
func swapEndiannessShort(x short) short
func swapEndiannessUShort(x ushort) ushort
func swapEndiannessInt(x int) int
func swapEndiannessUInt(x uint) uint
func swapEndiannessLong(x long) long
func swapEndiannessULong(x ulong) ulong
The compiler defines some other useful definitions related to endianness.
__little_endian__
__big_endian__
__endianness__
Table of Contents