Versions in this module Expand all Collapse all v5 v5.28.3 May 28, 2025 v5.28.2 May 28, 2025 v5.28.1 May 28, 2025 Changes in this version + const PackedArray + const PackedByteArray + const PackedFalse + const PackedFloat + const PackedInt + const PackedMap + const PackedNil + const PackedStr + const PackedStruct + const PackedTrue + const PackedUndef + type IoError struct + func (e *IoError) Error() string + type OverflowError struct + func (e *OverflowError) Error() string + type Packer struct + func (p *Packer) ArrayHeader(l int) + func (p *Packer) Begin(buf []byte) + func (p *Packer) Bool(b bool) + func (p *Packer) Bytes(b []byte) + func (p *Packer) BytesMap(m map[string][]byte) + func (p *Packer) End() ([]byte, error) + func (p *Packer) Float32(f float32) + func (p *Packer) Float64(f float64) + func (p *Packer) Float64Map(m map[string]float64) + func (p *Packer) Float64s(ii []float64) + func (p *Packer) Int(i int) + func (p *Packer) Int16(i int16) + func (p *Packer) Int32(i int32) + func (p *Packer) Int64(i int64) + func (p *Packer) Int64Map(m map[string]int64) + func (p *Packer) Int64s(ii []int64) + func (p *Packer) Int8(i int8) + func (p *Packer) IntMap(m map[string]int) + func (p *Packer) Ints(ii []int) + func (p *Packer) MapHeader(l int) + func (p *Packer) Nil() + func (p *Packer) String(s string) + func (p *Packer) StringMap(m map[string]string) + func (p *Packer) Strings(ss []string) + func (p *Packer) StructHeader(tag byte, num int) + func (p *Packer) Uint16(i uint16) + func (p *Packer) Uint32(i uint32) + func (p *Packer) Uint64(i uint64) + func (p *Packer) Uint8(i uint8) + type UnpackError struct + func (e *UnpackError) Error() string + type Unpacker struct + Curr int + Err error + func (u *Unpacker) Bool() bool + func (u *Unpacker) ByteArray() []byte + func (u *Unpacker) Float() float64 + func (u *Unpacker) Int() int64 + func (u *Unpacker) Len() uint32 + func (u *Unpacker) Next() + func (u *Unpacker) Reset(buf []byte) + func (u *Unpacker) String() string + func (u *Unpacker) StructTag() byte