...

Source file src/encoding/binary/native_endian_big.go

Documentation: encoding/binary

     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 armbe || arm64be || m68k || mips || mips64 || mips64p32 || ppc || ppc64 || s390 || s390x || shbe || sparc || sparc64
     6  
     7  package binary
     8  
     9  type nativeEndian struct {
    10  	bigEndian
    11  }
    12  
    13  // NativeEndian is the native-endian implementation of [ByteOrder] and [AppendByteOrder].
    14  var NativeEndian nativeEndian
    15  

View as plain text