endian_be.go (500B)
1 //go:build armbe || arm64be || mips || mips64 || mips64p32 || ppc64 || s390 || s390x || sparc || sparc64 2 // +build armbe arm64be mips mips64 mips64p32 ppc64 s390 s390x sparc sparc64 3 4 package internal 5 6 import "encoding/binary" 7 8 // NativeEndian is set to either binary.BigEndian or binary.LittleEndian, 9 // depending on the host's endianness. 10 var NativeEndian binary.ByteOrder = binary.BigEndian 11 12 // ClangEndian is set to either "el" or "eb" depending on the host's endianness. 13 const ClangEndian = "eb"