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.24.0-rc.3
- Published
- Jan 31, 2025
- Platform
- js/wasm
- Last checked
- 40 seconds ago –
Tools for package owners.