byteorder
packagestandard library go1.25.5
Go to latest Published: Dec 2, 2025 License:BSD-3-Clause
Opens a new window with list of versions in this module.
Latest LatestThis package is not in the latest version of its module.
Opens a new window with license information.
Imports:0 Opens a new window with list of imports.
Imported by:0 Opens a new window with list of known importers.
Details
Validgo.mod file
The Go module system was introduced in Go 1.11 and is the official dependency management solution for Go.
Redistributable license
Redistributable licenses place minimal restrictions on how software can be used, modified, and redistributed.
Tagged version
Modules with tagged versions give importers more predictable builds.
Stable version
When a project reaches major version v1 it is considered stable.
- Learn more about best practices
Repository
Links
Documentation¶
Overview¶
Package byteorder provides functions for decoding and encodinglittle and big endian integer types from/to byte slices.
Index¶
- func BEAppendUint16(b []byte, v uint16) []byte
- func BEAppendUint32(b []byte, v uint32) []byte
- func BEAppendUint64(b []byte, v uint64) []byte
- func BEPutUint16(b []byte, v uint16)
- func BEPutUint32(b []byte, v uint32)
- func BEPutUint64(b []byte, v uint64)
- func BEUint16(b []byte) uint16
- func BEUint32(b []byte) uint32
- func BEUint64(b []byte) uint64
- func LEAppendUint16(b []byte, v uint16) []byte
- func LEAppendUint32(b []byte, v uint32) []byte
- func LEAppendUint64(b []byte, v uint64) []byte
- func LEPutUint16(b []byte, v uint16)
- func LEPutUint32(b []byte, v uint32)
- func LEPutUint64(b []byte, v uint64)
- func LEUint16(b []byte) uint16
- func LEUint32(b []byte) uint32
- func LEUint64(b []byte) uint64
Constants¶
This section is empty.
Variables¶
This section is empty.
Functions¶
funcBEAppendUint16¶added ingo1.24.0
funcBEAppendUint32¶added ingo1.24.0
funcBEAppendUint64¶added ingo1.24.0
funcBEPutUint16¶added ingo1.24.0
funcBEPutUint32¶added ingo1.24.0
funcBEPutUint64¶added ingo1.24.0
funcLEAppendUint16¶added ingo1.24.0
funcLEAppendUint32¶added ingo1.24.0
funcLEAppendUint64¶added ingo1.24.0
funcLEPutUint16¶added ingo1.24.0
funcLEPutUint32¶added ingo1.24.0
funcLEPutUint64¶added ingo1.24.0
Types¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.