Versions in this module Expand all Collapse all v1 v1.4.3 Apr 6, 2022 Changes in this version + var ErrNotEnoughData = errors.New("response did not contain enough data to be valid") + func AppendArrayLen(dst []byte, l int) []byte + func AppendBool(dst []byte, v bool) []byte + func AppendBytes(dst, b []byte) []byte + func AppendCompactArrayLen(dst []byte, l int) []byte + func AppendCompactBytes(dst, b []byte) []byte + func AppendCompactNullableArrayLen(dst []byte, l int, isNil bool) []byte + func AppendCompactNullableBytes(dst, b []byte) []byte + func AppendCompactNullableString(dst []byte, s *string) []byte + func AppendCompactString(dst []byte, s string) []byte + func AppendFloat64(dst []byte, f float64) []byte + func AppendInt16(dst []byte, i int16) []byte + func AppendInt32(dst []byte, i int32) []byte + func AppendInt64(dst []byte, i int64) []byte + func AppendInt8(dst []byte, i int8) []byte + func AppendNullableArrayLen(dst []byte, l int, isNil bool) []byte + func AppendNullableBytes(dst, b []byte) []byte + func AppendNullableString(dst []byte, s *string) []byte + func AppendString(dst []byte, s string) []byte + func AppendUint16(dst []byte, u uint16) []byte + func AppendUint32(dst []byte, u uint32) []byte + func AppendUuid(dst []byte, uuid [16]byte) []byte + func AppendUvarint(dst []byte, u uint32) []byte + func AppendVarint(dst []byte, i int32) []byte + func AppendVarintBytes(dst, b []byte) []byte + func AppendVarintString(dst []byte, s string) []byte + func Uvarint(in []byte) (uint32, int) + func UvarintLen(u uint32) int + func Varint(in []byte) (int32, int) + func VarintLen(i int32) int + type Reader struct + Src []byte + func (b *Reader) ArrayLen() int32 + func (b *Reader) Bool() bool + func (b *Reader) Bytes() []byte + func (b *Reader) CompactArrayLen() int32 + func (b *Reader) CompactBytes() []byte + func (b *Reader) CompactNullableBytes() []byte + func (b *Reader) CompactNullableString() *string + func (b *Reader) CompactString() string + func (b *Reader) Complete() error + func (b *Reader) Float64() float64 + func (b *Reader) Int16() int16 + func (b *Reader) Int32() int32 + func (b *Reader) Int64() int64 + func (b *Reader) Int8() int8 + func (b *Reader) NullableBytes() []byte + func (b *Reader) NullableString() *string + func (b *Reader) Ok() bool + func (b *Reader) Span(l int) []byte + func (b *Reader) String() string + func (b *Reader) Uint16() uint16 + func (b *Reader) Uint32() uint32 + func (b *Reader) Uuid() [16]byte + func (b *Reader) Uvarint() uint32 + func (b *Reader) Varint() int32 + func (b *Reader) VarintArrayLen() int32 + func (b *Reader) VarintBytes() []byte + func (b *Reader) VarintString() string