github.com/mvdan/u-root-coreutils@v0.0.0-20230122170626-c2eef2898555/pkg/ubinary/big_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 mips || mips64 || ppc64 || s390x 6 // +build mips mips64 ppc64 s390x 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.BigEndian