-
-
Notifications
You must be signed in to change notification settings - Fork 9
endian
IsaacShelton edited this page Nov 13, 2022
·
6 revisions
machine/endian.adept
contains endianness utilities.
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.