...

Source file src/github.com/josharian/native/endian_big.go

Documentation: github.com/josharian/native

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

View as plain text