Look a little further down - they are documented in the ByteOrder type.
A ByteOrder specifies how to convert byte sequences into 16-, 32-, or
64-bit unsigned integers.
type ByteOrder interface {
Uint16([]byte <https://golang.org/pkg/builtin/#byte>) uint16
<https://golang.org/pkg/builtin/#uint16>
Uint32([]byte <https://golang.org/pkg/builtin/#byte>) uint32
<https://golang.org/pkg/builtin/#uint32>
Uint64([]byte <https://golang.org/pkg/builtin/#byte>) uint64
<https://golang.org/pkg/builtin/#uint64>
PutUint16([]byte <https://golang.org/pkg/builtin/#byte>, uint16
<https://golang.org/pkg/builtin/#uint16>)
PutUint32([]byte <https://golang.org/pkg/builtin/#byte>, uint32
<https://golang.org/pkg/builtin/#uint32>)
PutUint64([]byte <https://golang.org/pkg/builtin/#byte>, uint64
<https://golang.org/pkg/builtin/#uint64>)
String() string <https://golang.org/pkg/builtin/#string>
}
and the other piece is up near the top:
Variables ΒΆ <https://golang.org/pkg/encoding/binary/#pkg-variables>
BigEndian is the big-endian implementation of ByteOrder.
var BigEndian bigEndian
LittleEndian is the little-endian implementation of ByteOrder.
var LittleEndian littleEndian
--
You received this message because you are subscribed to the Google Groups
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.