X7ROOT File Manager
Current Path:
/opt/golang/1.22.0/src/encoding/binary
opt
/
golang
/
1.22.0
/
src
/
encoding
/
binary
/
📁
..
📄
binary.go
(19.36 KB)
📄
binary_test.go
(19.69 KB)
📄
example_test.go
(3.21 KB)
📄
native_endian_big.go
(466 B)
📄
native_endian_little.go
(504 B)
📄
varint.go
(4.85 KB)
📄
varint_test.go
(5.5 KB)
Editing: native_endian_big.go
// Copyright 2023 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. //go:build armbe || arm64be || m68k || mips || mips64 || mips64p32 || ppc || ppc64 || s390 || s390x || shbe || sparc || sparc64 package binary type nativeEndian struct { bigEndian } // NativeEndian is the native-endian implementation of [ByteOrder] and [AppendByteOrder]. var NativeEndian nativeEndian
Upload File
Create Folder