Documentation
¶
Index ¶
- Variables
- func Decode(data []byte, v interface{}) error
- func DecodeDate(v []byte) types.Date
- func DecodeDateSlice(v []byte) []types.Date
- func DecodeDatetime(v []byte) types.Datetime
- func DecodeDatetimeSlice(v []byte) (ret []types.Datetime)
- func DecodeDecimal128(v []byte) types.Decimal128
- func DecodeDecimal128Slice(v []byte) (ret []types.Decimal128)
- func DecodeDecimal64(v []byte) types.Decimal64
- func DecodeDecimal64Slice(v []byte) (ret []types.Decimal64)
- func DecodeFixed[T any](v []byte) T
- func DecodeFixedSlice[T any](v []byte, sz int) (ret []T)
- func DecodeFloat32(v []byte) float32
- func DecodeFloat32Slice(v []byte) []float32
- func DecodeFloat64(v []byte) float64
- func DecodeFloat64Slice(v []byte) []float64
- func DecodeFloat64SliceForBenchmark(v []byte) (ret []float64)
- func DecodeInt16(v []byte) int16
- func DecodeInt16Slice(v []byte) []int16
- func DecodeInt32(v []byte) int32
- func DecodeInt32Slice(v []byte) []int32
- func DecodeInt64(v []byte) int64
- func DecodeInt64Slice(v []byte) []int64
- func DecodeInt8(v []byte) int8
- func DecodeInt8Slice(v []byte) []int8
- func DecodeStringSlice(data []byte) []string
- func DecodeType(v []byte) types.Type
- func DecodeUint16(v []byte) uint16
- func DecodeUint16Slice(v []byte) []uint16
- func DecodeUint32(v []byte) uint32
- func DecodeUint32Slice(v []byte) []uint32
- func DecodeUint64(v []byte) uint64
- func DecodeUint64Slice(v []byte) []uint64
- func DecodeUint8(v []byte) uint8
- func DecodeUint8Slice(v []byte) []uint8
- func Encode(v interface{}) ([]byte, error)
- func EncodeDate(v types.Date) []byte
- func EncodeDateSlice(v []types.Date) []byte
- func EncodeDatetime(v types.Datetime) []byte
- func EncodeDatetimeSlice(v []types.Datetime) []byte
- func EncodeDecimal128(v types.Decimal128) []byte
- func EncodeDecimal128Slice(v []types.Decimal128) []byte
- func EncodeDecimal64(v types.Decimal64) []byte
- func EncodeDecimal64Slice(v []types.Decimal64) []byte
- func EncodeFixed[T any](v T) []byte
- func EncodeFixedSlice[T any](v []T, sz int) (ret []byte)
- func EncodeFloat32(v float32) []byte
- func EncodeFloat32Slice(v []float32) []byte
- func EncodeFloat64(v float64) []byte
- func EncodeFloat64Slice(v []float64) []byte
- func EncodeFloat64SliceForBenchmark(v []float64) (ret []byte)
- func EncodeInt16(v int16) []byte
- func EncodeInt16Slice(v []int16) []byte
- func EncodeInt32(v int32) []byte
- func EncodeInt32Slice(v []int32) []byte
- func EncodeInt64(v int64) []byte
- func EncodeInt64Slice(v []int64) []byte
- func EncodeInt8(v int8) []byte
- func EncodeInt8Slice(v []int8) []byte
- func EncodeStringSlice(vs []string) []byte
- func EncodeType(v types.Type) []byte
- func EncodeUint16(v uint16) []byte
- func EncodeUint16Slice(v []uint16) []byte
- func EncodeUint32(v uint32) []byte
- func EncodeUint32Slice(v []uint32) []byte
- func EncodeUint64(v uint64) []byte
- func EncodeUint64Slice(v []uint64) []byte
- func EncodeUint8(v uint8) []byte
- func EncodeUint8Slice(v []uint8) []byte
Constants ¶
This section is empty.
Variables ¶
View Source
var DateSize int
View Source
var DatetimeSize int
View Source
var Decimal128Size int
View Source
var Decimal64Size int
View Source
var TypeSize int
Functions ¶
func DecodeDate ¶
func DecodeDateSlice ¶
func DecodeDatetime ¶
func DecodeDatetimeSlice ¶
func DecodeDecimal128 ¶
func DecodeDecimal128(v []byte) types.Decimal128
func DecodeDecimal128Slice ¶
func DecodeDecimal128Slice(v []byte) (ret []types.Decimal128)
func DecodeDecimal64 ¶
func DecodeDecimal64Slice ¶
func DecodeFixed ¶
func DecodeFixedSlice ¶
func DecodeFloat32 ¶
func DecodeFloat32Slice ¶
func DecodeFloat64 ¶
func DecodeFloat64Slice ¶
func DecodeInt16 ¶
func DecodeInt16Slice ¶
func DecodeInt32 ¶
func DecodeInt32Slice ¶
func DecodeInt64 ¶
func DecodeInt64Slice ¶
func DecodeInt8 ¶
func DecodeInt8Slice ¶
func DecodeStringSlice ¶
func DecodeType ¶
func DecodeUint16 ¶
func DecodeUint16Slice ¶
func DecodeUint32 ¶
func DecodeUint32Slice ¶
func DecodeUint64 ¶
func DecodeUint64Slice ¶
func DecodeUint8 ¶
func DecodeUint8Slice ¶
func EncodeDate ¶
func EncodeDateSlice ¶
func EncodeDatetime ¶
func EncodeDatetimeSlice ¶
func EncodeDecimal128 ¶
func EncodeDecimal128(v types.Decimal128) []byte
func EncodeDecimal128Slice ¶
func EncodeDecimal128Slice(v []types.Decimal128) []byte
func EncodeDecimal64 ¶
func EncodeDecimal64Slice ¶
func EncodeFixed ¶
func EncodeFixedSlice ¶
func EncodeFloat32 ¶
func EncodeFloat32Slice ¶
func EncodeFloat64 ¶
func EncodeFloat64Slice ¶
func EncodeInt16 ¶
func EncodeInt16Slice ¶
func EncodeInt32 ¶
func EncodeInt32Slice ¶
func EncodeInt64 ¶
func EncodeInt64Slice ¶
func EncodeInt8 ¶
func EncodeInt8Slice ¶
func EncodeStringSlice ¶
func EncodeType ¶
func EncodeUint16 ¶
func EncodeUint16Slice ¶
func EncodeUint32 ¶
func EncodeUint32Slice ¶
func EncodeUint64 ¶
func EncodeUint64Slice ¶
func EncodeUint8 ¶
func EncodeUint8Slice ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.