package byteorder
import "internal/byteorder"
Package byteorder provides functions for decoding and encoding little 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
Functions ¶
func BeAppendUint16 ¶
func BeAppendUint32 ¶
func BeAppendUint64 ¶
func BePutUint16 ¶
func BePutUint32 ¶
func BePutUint64 ¶
func BeUint16 ¶
func BeUint32 ¶
func BeUint64 ¶
func LeAppendUint16 ¶
func LeAppendUint32 ¶
func LeAppendUint64 ¶
func LePutUint16 ¶
func LePutUint32 ¶
func LePutUint64 ¶
func LeUint16 ¶
func LeUint32 ¶
func LeUint64 ¶
Source Files ¶
- Version
- v1.23.5
- Published
- Jan 10, 2025
- Platform
- darwin/amd64
- Last checked
- 7 minutes ago –
Tools for package owners.