...

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

Documentation: github.com/josharian/native

     1  //go:build amd64 || 386 || arm || arm64 || loong64 || mipsle || mips64le || ppc64le || riscv64 || wasm
     2  // +build amd64 386 arm arm64 loong64 mipsle mips64le ppc64le riscv64 wasm
     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.LittleEndian
    11  
    12  // IsBigEndian is whether the current CPU's native byte order is big
    13  // endian.
    14  const IsBigEndian = false
    15  

View as plain text