Versions in this module Expand all Collapse all v0 v0.9.0 Nov 28, 2020 Changes in this version + const NilFlag + func CutOne(b []byte) (data []byte, remain []byte, err error) + func Decode(b []byte, size int) ([]types.Datum, error) + func DecodeBytes(b []byte) ([]byte, []byte, error) + func DecodeBytesDesc(b []byte) ([]byte, []byte, error) + func DecodeCmpUintToInt(u uint64) int64 + func DecodeCompactBytes(b []byte) ([]byte, []byte, error) + func DecodeComparableUvarint(b []byte) ([]byte, uint64, error) + func DecodeComparableVarint(b []byte) ([]byte, int64, error) + func DecodeDecimal(b []byte) ([]byte, *types.MyDecimal, error) + func DecodeFloat(b []byte) ([]byte, float64, error) + func DecodeFloatDesc(b []byte) ([]byte, float64, error) + func DecodeInt(b []byte) ([]byte, int64, error) + func DecodeIntDesc(b []byte) ([]byte, int64, error) + func DecodeOne(b []byte) (remain []byte, d types.Datum, err error) + func DecodeOneToChunk(b []byte, chk *chunk.Chunk, colIdx int, ft *types.FieldType, ...) (remain []byte, err error) + func DecodeUint(b []byte) ([]byte, uint64, error) + func DecodeUintDesc(b []byte) ([]byte, uint64, error) + func DecodeUvarint(b []byte) ([]byte, uint64, error) + func DecodeVarint(b []byte) ([]byte, int64, error) + func EncodeBytes(b []byte, data []byte) []byte + func EncodeBytesDesc(b []byte, data []byte) []byte + func EncodeCompactBytes(b []byte, data []byte) []byte + func EncodeComparableUvarint(b []byte, v uint64) []byte + func EncodeComparableVarint(b []byte, v int64) []byte + func EncodeDecimal(b []byte, dec *types.MyDecimal, precision, frac int) []byte + func EncodeFloat(b []byte, v float64) []byte + func EncodeFloatDesc(b []byte, v float64) []byte + func EncodeInt(b []byte, v int64) []byte + func EncodeIntDesc(b []byte, v int64) []byte + func EncodeIntToCmpUint(v int64) uint64 + func EncodeKey(sc *stmtctx.StatementContext, b []byte, v ...types.Datum) ([]byte, error) + func EncodeUint(b []byte, v uint64) []byte + func EncodeUintDesc(b []byte, v uint64) []byte + func EncodeUvarint(b []byte, v uint64) []byte + func EncodeValue(sc *stmtctx.StatementContext, b []byte, v ...types.Datum) ([]byte, error) + func EncodeVarint(b []byte, v int64) []byte + func HashChunkRow(sc *stmtctx.StatementContext, b []byte, row chunk.Row, ...) ([]byte, error) + func HashValues(sc *stmtctx.StatementContext, b []byte, v ...types.Datum) ([]byte, error) + func SetRawValues(data []byte, values []types.Datum) error