Versions in this module Expand all Collapse all v1 v1.4.3 Aug 16, 2023 v1.4.2 Aug 16, 2023 Changes in this version + const BigintFieldSize + const BooleanFieldSize + const DateFieldSize + const DaydateFieldSize + const DecimalFieldSize + const DoubleFieldSize + const Fixed12FieldSize + const Fixed16FieldSize + const Fixed8FieldSize + const IntegerFieldSize + const LongdateFieldSize + const RealFieldSize + const SeconddateFieldSize + const SecondtimeFieldSize + const SmallintFieldSize + const TimeFieldSize + const TimestampFieldSize + const TinyintFieldSize + func VarFieldSize(size int) int + type Decoder struct + func NewDecoder(rd io.Reader, decoder func() transform.Transformer) *Decoder + func (d *Decoder) Bool() bool + func (d *Decoder) Byte() byte + func (d *Decoder) Bytes(p []byte) + func (d *Decoder) CESU8Bytes(size int) ([]byte, error) + func (d *Decoder) CESU8LIBytes() (int, []byte, error) + func (d *Decoder) CESU8LIString() (int, string, error) + func (d *Decoder) Cnt() int + func (d *Decoder) Decimal() (*big.Int, int, error) + func (d *Decoder) Error() error + func (d *Decoder) Fixed(size int) *big.Int + func (d *Decoder) Float32() float32 + func (d *Decoder) Float64() float64 + func (d *Decoder) Int16() int16 + func (d *Decoder) Int32() int32 + func (d *Decoder) Int64() int64 + func (d *Decoder) Int8() int8 + func (d *Decoder) LIBytes() (n int, b []byte) + func (d *Decoder) LIString() (n int, s string) + func (d *Decoder) ResetCnt() + func (d *Decoder) ResetError() error + func (d *Decoder) Skip(cnt int) + func (d *Decoder) Uint16() uint16 + func (d *Decoder) Uint16ByteOrder(byteOrder binary.ByteOrder) uint16 + func (d *Decoder) Uint32() uint32 + func (d *Decoder) Uint32ByteOrder(byteOrder binary.ByteOrder) uint32 + func (d *Decoder) Uint64() uint64 + type Encoder struct + func NewEncoder(wr io.Writer, encoder func() transform.Transformer) *Encoder + func (e *Encoder) Bool(v bool) + func (e *Encoder) Byte(b byte) + func (e *Encoder) Bytes(p []byte) + func (e *Encoder) CESU8Bytes(p []byte) (int, error) + func (e *Encoder) CESU8LIBytes(p []byte) error + func (e *Encoder) CESU8LIString(s string) error + func (e *Encoder) CESU8String(s string) (int, error) + func (e *Encoder) Decimal(m *big.Int, exp int) + func (e *Encoder) Fixed(m *big.Int, size int) + func (e *Encoder) Float32(f float32) + func (e *Encoder) Float64(f float64) + func (e *Encoder) Int16(i int16) + func (e *Encoder) Int32(i int32) + func (e *Encoder) Int64(i int64) + func (e *Encoder) Int8(i int8) + func (e *Encoder) LIBytes(p []byte) error + func (e *Encoder) LIString(s string) error + func (e *Encoder) String(s string) + func (e *Encoder) Uint16(i uint16) + func (e *Encoder) Uint16ByteOrder(i uint16, byteOrder binary.ByteOrder) + func (e *Encoder) Uint32(i uint32) + func (e *Encoder) Uint64(i uint64) + func (e *Encoder) Zeroes(cnt int)