github.com/cilium/ebpf@v0.15.1-0.20240517100537-8079b37aa138/internal/endian_le.go (about) 1 //go:build 386 || amd64 || amd64p32 || arm || arm64 || loong64 || mipsle || mips64le || mips64p32le || ppc64le || riscv64 2 3 package internal 4 5 import "encoding/binary" 6 7 // NativeEndian is set to either binary.BigEndian or binary.LittleEndian, 8 // depending on the host's endianness. 9 var NativeEndian = binary.LittleEndian