Documentation
¶
Index ¶
- func AppendInt32(data []byte, v int32) []byte
- func AppendInt64(data []byte, v int64) []byte
- func AppendUint32(data []byte, v uint32) []byte
- func AppendUint32FixedLength(data []byte, v uint32, length int) ([]byte, error)
- func AppendUint64(data []byte, v uint64) []byte
- func ReadInt32(data []byte) (result int32, count int, err error)
- func ReadInt64(data []byte) (result int64, count int, err error)
- func ReadUint32(data []byte) (result uint32, count int, err error)
- func ReadUint64(data []byte) (result uint64, count int, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AppendInt32 ¶
AppendInt32 encodes and writes the given signed 32-bit integer in canonical (with the fewest bytes possible) signed little-endian base-128 format
func AppendInt64 ¶
AppendInt64 encodes and writes the given signed 64-bit integer in canonical (with the fewest bytes possible) signed little-endian base-128 format
func AppendUint32 ¶
AppendUint32 encodes and writes the given unsigned 32-bit integer in canonical (with the fewest bytes possible) unsigned little-endian base-128 format
func AppendUint32FixedLength ¶
AppendUint32FixedLength encodes and writes the given unsigned 32-bit integer in non-canonical (fixed-size, instead of with the fewest bytes possible) unsigned little-endian base-128 format
func AppendUint64 ¶
AppendUint64 encodes and writes the given unsigned 64-bit integer in canonical (with the fewest bytes possible) unsigned little-endian base-128 format
func ReadUint32 ¶
ReadUint32 reads and decodes an unsigned 32-bit integer
Types ¶
This section is empty.