# Functions
DecodeBytesAscending decodes a []byte value from the input buffer which was encoded using EncodeBytesAscending.
DecodeBytesDescending decodes a []byte value from the input buffer which was encoded using EncodeBytesDescending.
DecodeFieldValue decodes a field value from a byte slice.
DecodeFloatAscending returns the remaining byte slice after decoding and the decoded float64 from buf.
DecodeFloatDescending decodes floats encoded with EncodeFloatDescending.
DecodeIfNull decodes a NULL value from the input buffer.
DecodeTimeAscending decodes a time.Time value which was encoded using EncodeTime.
DecodeTimeDescending is the descending version of DecodeTimeAscending.
DecodeUint64Ascending decodes a uint64 from the input buffer, treating the input as a big-endian 8 byte uint64 representation.
DecodeUint64Descending decodes a uint64 value which was encoded using EncodeUint64Descending.
DecodeUvarintAscending decodes a uvarint encoded uint64 from the input buffer.
DecodeUvarintDescending decodes a uint64 value which was encoded using EncodeUvarintDescending.
DecodeVarintAscending decodes a value encoded by EncodeVarintAscending.
DecodeVarintDescending decodes a int64 value which was encoded using EncodeVarintDescending.
EncodeBytesAscending encodes the []byte value using an escape-based encoding.
EncodeBytesDescending encodes the []byte value using an escape-based encoding and then inverts (ones complement) the result so that it sorts in reverse order, from larger to smaller lexicographically.
EncodeFieldValue encodes a FieldValue into a byte slice.
EncodeFloatAscending returns the resulting byte slice with the encoded float64 appended to b.
EncodeFloatDescending is the descending version of EncodeFloatAscending.
EncodeNullAscending encodes a NULL value.
EncodeNullDescending is the descending equivalent of EncodeNullAscending.
EncodeStringAscending encodes the string value using an escape-based encoding.
EncodeStringDescending is the descending version of EncodeStringAscending.
EncodeTimeAscending encodes a time value, appends it to the supplied buffer, and returns the final buffer.
EncodeTimeDescending is the descending version of EncodeTimeAscending.
EncodeUint64Ascending encodes the uint64 value using a big-endian 8 byte representation.
EncodeUint64Descending encodes the uint64 value so that it sorts in reverse order, from largest to smallest.
EncodeUvarintAscending encodes the uint64 value using a variable length (length-prefixed) representation.
EncodeUvarintDescending encodes the uint64 value so that it sorts in reverse order, from largest to smallest.
EncodeVarintAscending encodes the int64 value using a variable length (length-prefixed) representation.
EncodeVarintDescending encodes the int64 value so that it sorts in reverse order, from largest to smallest.
NewErrCanNotDecodeFieldValue returns a new error indicating that the encoded bytes could not be decoded into a client.FieldValue of a certain kind.
NewErrInsufficientBytesToDecode returns a new error indicating that the provided bytes are not sufficient to decode into a target type.
NewErrInvalidUvarintLength returns a new error indicating that the buffer contains an invalid length for a uvarint.
NewErrMalformedEscape returns a new error indicating that the buffer contains a malformed escape sequence.
NewErrMarkersNotFound returns a new error indicating that the required marker was not found in the buffer.
NewErrTerminatorNotFound returns a new error indicating that the required terminator was not found in the buffer.
NewErrUnknownEscapeSequence returns a new error indicating that the buffer contains an unknown escape sequence.
NewErrVarintOverflow returns a new error indicating that the buffer contains a varint that overflows a 64-bit integer.
PeekType peeks at the type of the value encoded at the start of b.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
253.
128.
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Type aliases
Type represents the type of a value encoded by Encode{Null,Varint,Uvarint,Float,Bytes}.