github.com/mvdan/u-root-coreutils@v0.0.0-20230122170626-c2eef2898555/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 //go:build 386 || amd64 || arm || arm64 || mipsle || mips64le || ppc64le || riscv || riscv64 || loong64 6 // +build 386 amd64 arm arm64 mipsle mips64le ppc64le riscv riscv64 loong64 7 8 package ubinary 9 10 import ( 11 "encoding/binary" 12 ) 13 14 // NativeEndian is $GOARCH's implementation of byte order. 15 var NativeEndian = binary.LittleEndian