github.com/u-root/u-root@v7.0.1-0.20200915234505-ad7babab0a8e+incompatible/pkg/ubinary/little_endian.go (about)

     1  // Copyright 2018 the u-root Authors. All rights reserved
     2  // Use of this source code is governed by a BSD-style
     3  // license that can be found in the LICENSE file.
     4  
     5  // +build 386 amd64 arm arm64 mipsle mips64le ppc64le riscv riscv64
     6  
     7  package ubinary
     8  
     9  import (
    10  	"encoding/binary"
    11  )
    12  
    13  // NativeEndian is $GOARCH's implementation of byte order.
    14  var NativeEndian = binary.LittleEndian