package
0.0.9
Repository: https://github.com/journeymidnight/client-go.git
Documentation: pkg.go.dev

# Functions

DecodeBytes decodes a TiDB encoded byte slice.
DecodeRegionMetaKey translates a region meta from encoded form to unencoded form.
DecodeUintDesc decodes value encoded by EncodeInt before.
EncodeBytes encodes a byte slice into TiDB's encoded form.
EncodeInt appends the encoded value to slice b and returns the appended slice.
EncodeIntToCmpUint make int v to comparable uint type.
EncodeTableIndexPrefix encodes index prefix with tableID and idxID.
EncodeUintDesc appends the encoded value to slice b and returns the appended slice.
GenTableIndexPrefix composes index prefix with tableID: "t[tableID]_i".
GenTableRecordPrefix composes record prefix with tableID: "t[tableID]_r".