Documentation ¶
Overview ¶
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
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BeAppendUint16 ¶
func BeAppendUint32 ¶
func BeAppendUint64 ¶
func BePutUint16 ¶
func BePutUint32 ¶
func BePutUint64 ¶
func LeAppendUint16 ¶
func LeAppendUint32 ¶
func LeAppendUint64 ¶
func LePutUint16 ¶
func LePutUint32 ¶
func LePutUint64 ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.