package
2.0.7
Repository: https://github.com/tikv/client-go.git
Documentation: pkg.go.dev

# Functions

DecodeBytes decodes bytes which is encoded by EncodeBytes before, returns the leftover bytes and decoded value if no error.
DecodeCmpUintToInt decodes the u that encoded by EncodeIntToCmpUint.
DecodeComparableUvarint decodes mem-comparable uvarint.
DecodeComparableVarint decodes mem-comparable varint.
DecodeInt decodes value encoded by EncodeInt before.
DecodeIntDesc decodes value encoded by EncodeInt before.
DecodeUint decodes value encoded by EncodeUint before.
DecodeUintDesc decodes value encoded by EncodeInt before.
DecodeUvarint decodes value encoded by EncodeUvarint before.
DecodeVarint decodes value encoded by EncodeVarint before.
EncodeBytes guarantees the encoded value is in ascending order for comparison, encoding with the following rule: [group1][marker1]...[groupN][markerN] group is 8 bytes slice which is padding with 0.
EncodeComparableUvarint encodes uint64 into mem-comparable bytes.
EncodeComparableVarint encodes an int64 to a mem-comparable bytes.
EncodeInt appends the encoded value to slice b and returns the appended slice.
EncodeIntDesc appends the encoded value to slice b and returns the appended slice.
EncodeIntToCmpUint make int v to comparable uint type.
EncodeUint appends the encoded value to slice b and returns the appended slice.
EncodeUintDesc appends the encoded value to slice b and returns the appended slice.
EncodeUvarint appends the encoded value to slice b and returns the appended slice.
EncodeVarint appends the encoded value to slice b and returns the appended slice.