Documentation ¶
Index ¶
- type BinaryPackedDecoder
- type BinaryPackedEncoder
- type BinaryPackedEncoding
- func (e *BinaryPackedEncoding) CanEncode(t format.Type) bool
- func (e *BinaryPackedEncoding) Encoding() format.Encoding
- func (e *BinaryPackedEncoding) NewDecoder(r io.Reader) encoding.Decoder
- func (e *BinaryPackedEncoding) NewEncoder(w io.Writer) encoding.Encoder
- func (e *BinaryPackedEncoding) String() string
- type ByteArrayDecoder
- type ByteArrayEncoder
- type ByteArrayEncoding
- type LengthByteArrayDecoder
- type LengthByteArrayEncoder
- type LengthByteArrayEncoding
- func (e *LengthByteArrayEncoding) CanEncode(t format.Type) bool
- func (e *LengthByteArrayEncoding) Encoding() format.Encoding
- func (e *LengthByteArrayEncoding) NewDecoder(r io.Reader) encoding.Decoder
- func (e *LengthByteArrayEncoding) NewEncoder(w io.Writer) encoding.Encoder
- func (e *LengthByteArrayEncoding) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BinaryPackedDecoder ¶
type BinaryPackedDecoder struct { encoding.NotSupportedDecoder // contains filtered or unexported fields }
func NewBinaryPackedDecoder ¶
func NewBinaryPackedDecoder(r io.Reader) *BinaryPackedDecoder
func (*BinaryPackedDecoder) DecodeInt32 ¶
func (d *BinaryPackedDecoder) DecodeInt32(data []int32) (int, error)
func (*BinaryPackedDecoder) DecodeInt64 ¶
func (d *BinaryPackedDecoder) DecodeInt64(data []int64) (int, error)
func (*BinaryPackedDecoder) Reset ¶
func (d *BinaryPackedDecoder) Reset(r io.Reader)
type BinaryPackedEncoder ¶
type BinaryPackedEncoder struct { encoding.NotSupportedEncoder // contains filtered or unexported fields }
func NewBinaryPackedEncoder ¶
func NewBinaryPackedEncoder(w io.Writer) *BinaryPackedEncoder
func (*BinaryPackedEncoder) EncodeInt32 ¶
func (e *BinaryPackedEncoder) EncodeInt32(data []int32) error
func (*BinaryPackedEncoder) EncodeInt64 ¶
func (e *BinaryPackedEncoder) EncodeInt64(data []int64) error
func (*BinaryPackedEncoder) Reset ¶
func (e *BinaryPackedEncoder) Reset(w io.Writer)
type BinaryPackedEncoding ¶
type BinaryPackedEncoding struct { }
func (*BinaryPackedEncoding) CanEncode ¶
func (e *BinaryPackedEncoding) CanEncode(t format.Type) bool
func (*BinaryPackedEncoding) Encoding ¶
func (e *BinaryPackedEncoding) Encoding() format.Encoding
func (*BinaryPackedEncoding) NewDecoder ¶
func (e *BinaryPackedEncoding) NewDecoder(r io.Reader) encoding.Decoder
func (*BinaryPackedEncoding) NewEncoder ¶
func (e *BinaryPackedEncoding) NewEncoder(w io.Writer) encoding.Encoder
func (*BinaryPackedEncoding) String ¶
func (e *BinaryPackedEncoding) String() string
type ByteArrayDecoder ¶
type ByteArrayDecoder struct { encoding.NotSupportedDecoder // contains filtered or unexported fields }
func NewByteArrayDecoder ¶
func NewByteArrayDecoder(r io.Reader) *ByteArrayDecoder
func (*ByteArrayDecoder) DecodeByteArray ¶
func (d *ByteArrayDecoder) DecodeByteArray(data *encoding.ByteArrayList) (int, error)
func (*ByteArrayDecoder) DecodeFixedLenByteArray ¶
func (d *ByteArrayDecoder) DecodeFixedLenByteArray(size int, data []byte) (int, error)
func (*ByteArrayDecoder) Reset ¶
func (d *ByteArrayDecoder) Reset(r io.Reader)
type ByteArrayEncoder ¶
type ByteArrayEncoder struct { encoding.NotSupportedEncoder // contains filtered or unexported fields }
func NewByteArrayEncoder ¶
func NewByteArrayEncoder(w io.Writer) *ByteArrayEncoder
func (*ByteArrayEncoder) EncodeByteArray ¶
func (e *ByteArrayEncoder) EncodeByteArray(data encoding.ByteArrayList) error
func (*ByteArrayEncoder) EncodeFixedLenByteArray ¶
func (e *ByteArrayEncoder) EncodeFixedLenByteArray(size int, data []byte) error
func (*ByteArrayEncoder) Reset ¶
func (e *ByteArrayEncoder) Reset(w io.Writer)
type ByteArrayEncoding ¶
type ByteArrayEncoding struct { }
func (*ByteArrayEncoding) Encoding ¶
func (e *ByteArrayEncoding) Encoding() format.Encoding
func (*ByteArrayEncoding) NewDecoder ¶
func (e *ByteArrayEncoding) NewDecoder(r io.Reader) encoding.Decoder
func (*ByteArrayEncoding) NewEncoder ¶
func (e *ByteArrayEncoding) NewEncoder(w io.Writer) encoding.Encoder
func (*ByteArrayEncoding) String ¶
func (e *ByteArrayEncoding) String() string
type LengthByteArrayDecoder ¶
type LengthByteArrayDecoder struct { encoding.NotSupportedDecoder // contains filtered or unexported fields }
func NewLengthByteArrayDecoder ¶
func NewLengthByteArrayDecoder(r io.Reader) *LengthByteArrayDecoder
func (*LengthByteArrayDecoder) DecodeByteArray ¶
func (d *LengthByteArrayDecoder) DecodeByteArray(data *encoding.ByteArrayList) (n int, err error)
func (*LengthByteArrayDecoder) Reset ¶
func (d *LengthByteArrayDecoder) Reset(r io.Reader)
type LengthByteArrayEncoder ¶
type LengthByteArrayEncoder struct { encoding.NotSupportedEncoder // contains filtered or unexported fields }
func NewLengthByteArrayEncoder ¶
func NewLengthByteArrayEncoder(w io.Writer) *LengthByteArrayEncoder
func (*LengthByteArrayEncoder) EncodeByteArray ¶
func (e *LengthByteArrayEncoder) EncodeByteArray(data encoding.ByteArrayList) (err error)
func (*LengthByteArrayEncoder) Reset ¶
func (e *LengthByteArrayEncoder) Reset(w io.Writer)
type LengthByteArrayEncoding ¶
type LengthByteArrayEncoding struct { }
func (*LengthByteArrayEncoding) CanEncode ¶
func (e *LengthByteArrayEncoding) CanEncode(t format.Type) bool
func (*LengthByteArrayEncoding) Encoding ¶
func (e *LengthByteArrayEncoding) Encoding() format.Encoding
func (*LengthByteArrayEncoding) NewDecoder ¶
func (e *LengthByteArrayEncoding) NewDecoder(r io.Reader) encoding.Decoder
func (*LengthByteArrayEncoding) NewEncoder ¶
func (e *LengthByteArrayEncoding) NewEncoder(w io.Writer) encoding.Encoder
func (*LengthByteArrayEncoding) String ¶
func (e *LengthByteArrayEncoding) String() string
Click to show internal directories.
Click to hide internal directories.