| 1 |
// Copyright 2023 The Go 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 || amd64p32 || alpha || arm || arm64 || loong64 || mipsle || mips64le || mips64p32le || nios2 || ppc64le || riscv || riscv64 || sh || wasm |
| 6 |
|
| 7 |
package binary |
| 8 |
|
| 9 |
type nativeEndian struct { |
| 10 |
littleEndian |
| 11 |
} |
| 12 |
|
| 13 |
// NativeEndian is the native-endian implementation of [ByteOrder] and [AppendByteOrder]. |
| 14 |
var NativeEndian nativeEndian |