Versions in this module Expand all Collapse all v1 v1.1.9 Oct 1, 2018 Changes in this version + const BytesDescMarker + const EncodedDurationMaxLen + const IntMax + const IntMin + const NoColumnID + const NonsortingUvarintMaxLen + const NonsortingVarintMaxLen + func DecodeBoolValue(buf []byte) (remaining []byte, b bool, err error) + func DecodeBytesAscending(b []byte, r []byte) ([]byte, []byte, error) + func DecodeBytesDescending(b []byte, r []byte) ([]byte, []byte, error) + func DecodeBytesValue(b []byte) (remaining []byte, data []byte, err error) + func DecodeDecimalAscending(buf []byte, tmp []byte) ([]byte, apd.Decimal, error) + func DecodeDecimalDescending(buf []byte, tmp []byte) ([]byte, apd.Decimal, error) + func DecodeDecimalValue(b []byte) (remaining []byte, d apd.Decimal, err error) + func DecodeDurationAscending(b []byte) ([]byte, duration.Duration, error) + func DecodeDurationDescending(b []byte) ([]byte, duration.Duration, error) + func DecodeDurationValue(b []byte) (remaining []byte, d duration.Duration, err error) + func DecodeFloatAscending(buf []byte) ([]byte, float64, error) + func DecodeFloatDescending(buf []byte) ([]byte, float64, error) + func DecodeFloatValue(b []byte) (remaining []byte, f float64, err error) + func DecodeIfNotNull(b []byte) ([]byte, bool) + func DecodeIfNull(b []byte) ([]byte, bool) + func DecodeIntValue(b []byte) (remaining []byte, i int64, err error) + func DecodeNonsortingDecimal(buf []byte, tmp []byte) (apd.Decimal, error) + func DecodeNonsortingStdlibUvarint(buf []byte) (remaining []byte, length int, value uint64, err error) + func DecodeNonsortingStdlibVarint(b []byte) (remaining []byte, length int, value int64, err error) + func DecodeNonsortingUvarint(buf []byte) (remaining []byte, length int, value uint64, err error) + func DecodeTimeAscending(b []byte) ([]byte, time.Time, error) + func DecodeTimeDescending(b []byte) ([]byte, time.Time, error) + func DecodeTimeValue(b []byte) (remaining []byte, t time.Time, err error) + func DecodeUUIDValue(b []byte) (remaining []byte, u uuid.UUID, err error) + func DecodeUint32Ascending(b []byte) ([]byte, uint32, error) + func DecodeUint32Descending(b []byte) ([]byte, uint32, error) + func DecodeUint64Ascending(b []byte) ([]byte, uint64, error) + func DecodeUint64Descending(b []byte) ([]byte, uint64, error) + func DecodeUnsafeStringAscending(b []byte, r []byte) ([]byte, string, error) + func DecodeUnsafeStringDescending(b []byte, r []byte) ([]byte, string, error) + func DecodeUntaggedBytesValue(b []byte) (remaining, data []byte, err error) + func DecodeUntaggedDecimalValue(b []byte) (remaining []byte, d apd.Decimal, err error) + func DecodeUntaggedDurationValue(b []byte) (remaining []byte, d duration.Duration, err error) + func DecodeUntaggedFloatValue(b []byte) (remaining []byte, f float64, err error) + func DecodeUntaggedIntValue(b []byte) (remaining []byte, i int64, err error) + func DecodeUntaggedTimeValue(b []byte) (remaining []byte, t time.Time, err error) + func DecodeUntaggedUUIDValue(b []byte) (remaining []byte, u uuid.UUID, err error) + func DecodeUvarintAscending(b []byte) ([]byte, uint64, error) + func DecodeUvarintDescending(b []byte) ([]byte, uint64, error) + func DecodeVarintAscending(b []byte) ([]byte, int64, error) + func DecodeVarintDescending(b []byte) ([]byte, int64, error) + func EncLenUvarintAscending(v uint64) int + func EncLenUvarintDescending(v uint64) int + func EncodeArrayValue(appendTo []byte, colID uint32, data []byte) []byte + func EncodeBoolValue(appendTo []byte, colID uint32, b bool) []byte + func EncodeBytesAscending(b []byte, data []byte) []byte + func EncodeBytesDescending(b []byte, data []byte) []byte + func EncodeBytesValue(appendTo []byte, colID uint32, data []byte) []byte + func EncodeDecimalAscending(appendTo []byte, d *apd.Decimal) []byte + func EncodeDecimalDescending(appendTo []byte, d *apd.Decimal) []byte + func EncodeDecimalValue(appendTo []byte, colID uint32, d *apd.Decimal) []byte + func EncodeDurationAscending(b []byte, d duration.Duration) ([]byte, error) + func EncodeDurationDescending(b []byte, d duration.Duration) ([]byte, error) + func EncodeDurationValue(appendTo []byte, colID uint32, d duration.Duration) []byte + func EncodeFloatAscending(b []byte, f float64) []byte + func EncodeFloatDescending(b []byte, f float64) []byte + func EncodeFloatValue(appendTo []byte, colID uint32, f float64) []byte + func EncodeIntValue(appendTo []byte, colID uint32, i int64) []byte + func EncodeNonsortingDecimal(b []byte, d *apd.Decimal) []byte + func EncodeNonsortingStdlibVarint(appendTo []byte, x int64) []byte + func EncodeNonsortingUvarint(appendTo []byte, x uint64) []byte + func EncodeNotNullAscending(b []byte) []byte + func EncodeNotNullDescending(b []byte) []byte + func EncodeNullAscending(b []byte) []byte + func EncodeNullDescending(b []byte) []byte + func EncodeNullValue(appendTo []byte, colID uint32) []byte + func EncodeStringAscending(b []byte, s string) []byte + func EncodeStringDescending(b []byte, s string) []byte + func EncodeTimeAscending(b []byte, t time.Time) []byte + func EncodeTimeDescending(b []byte, t time.Time) []byte + func EncodeTimeValue(appendTo []byte, colID uint32, t time.Time) []byte + func EncodeUUIDValue(appendTo []byte, colID uint32, u uuid.UUID) []byte + func EncodeUint32Ascending(b []byte, v uint32) []byte + func EncodeUint32Descending(b []byte, v uint32) []byte + func EncodeUint64Ascending(b []byte, v uint64) []byte + func EncodeUint64Descending(b []byte, v uint64) []byte + func EncodeUntaggedBytesValue(appendTo []byte, data []byte) []byte + func EncodeUntaggedDecimalValue(appendTo []byte, d *apd.Decimal) []byte + func EncodeUntaggedDurationValue(appendTo []byte, d duration.Duration) []byte + func EncodeUntaggedFloatValue(appendTo []byte, f float64) []byte + func EncodeUntaggedIntValue(appendTo []byte, i int64) []byte + func EncodeUntaggedTimeValue(appendTo []byte, t time.Time) []byte + func EncodeUntaggedUUIDValue(appendTo []byte, u uuid.UUID) []byte + func EncodeUvarintAscending(b []byte, v uint64) []byte + func EncodeUvarintDescending(b []byte, v uint64) []byte + func EncodeValueTag(appendTo []byte, colID uint32, typ Type) []byte + func EncodeVarintAscending(b []byte, v int64) []byte + func EncodeVarintDescending(b []byte, v int64) []byte + func GetMultiVarintLen(b []byte, num int) (int, error) + func PeekLength(b []byte) (int, error) + func PeekLengthNonsortingUvarint(buf []byte) int + func PeekValueLength(b []byte) (typeOffset int, length int, err error) + func PrettyPrintValue(b []byte, sep string) string + func PrettyPrintValueEncoded(b []byte) ([]byte, string, error) + func UpperBoundNonsortingDecimalSize(d *apd.Decimal) int + func UpperBoundValueEncodingSize(colID uint32, typ Type, size int) (int, bool) + func WordLen(nat []big.Word) int + type Direction int + const Ascending + const Descending + func (d Direction) Reverse() Direction + type Type int + const Array + const Bytes + const BytesDesc + const Decimal + const Duration + const False + const Float + const Int + const NotNull + const Null + const SentinelType + const Time + const True + const UUID + const Unknown + func DecodeValueTag(b []byte) (typeOffset int, dataOffset int, colID uint32, typ Type, err error) + func PeekType(b []byte) Type + func (i Type) String() string Incompatible versions in this module v19.2.12+incompatible Jan 12, 2021