endian_big.go 359 B

1234567891011121314
  1. //go:build mips || mips64 || ppc64 || s390x
  2. // +build mips mips64 ppc64 s390x
  3. package native
  4. import "encoding/binary"
  5. // Endian is the encoding/binary.ByteOrder implementation for the
  6. // current CPU's native byte order.
  7. var Endian = binary.BigEndian
  8. // IsBigEndian is whether the current CPU's native byte order is big
  9. // endian.
  10. const IsBigEndian = true