Versions in this module Expand all Collapse all v1 v1.0.9 Apr 20, 2018 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 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.Datum, 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 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, d types.Datum) []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 EncodeKey(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(b []byte, v ...types.Datum) ([]byte, error) + func EncodeVarint(b []byte, v int64) []byte + func HashValues(b []byte, v ...types.Datum) ([]byte, error) + func SetRawValues(data []byte, values []types.Datum) error