Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BinaryDecoder ¶
type BinaryDecoder struct {
// contains filtered or unexported fields
}
func NewBinaryDecoder ¶
func NewBinaryDecoder(r io.Reader) *BinaryDecoder
func (*BinaryDecoder) Decode ¶
func (dec *BinaryDecoder) Decode(v any) error
type BinaryEncoder ¶
type BinaryEncoder struct {
// contains filtered or unexported fields
}
func NewBinaryEncoder ¶
func NewBinaryEncoder(w io.Writer) *BinaryEncoder
func (*BinaryEncoder) Encode ¶
func (enc *BinaryEncoder) Encode(v any) error
type DecoderFunc ¶
func NewDecoderFuncBinary ¶
func NewDecoderFuncBinary() DecoderFunc
func NewDecoderFuncJSON ¶
func NewDecoderFuncJSON() DecoderFunc
func NewDecoderFuncText ¶
func NewDecoderFuncText() DecoderFunc
func NewDecoderFuncXML ¶
func NewDecoderFuncXML() DecoderFunc
type EncoderFunc ¶
func NewEncoderFuncBinary ¶
func NewEncoderFuncBinary() EncoderFunc
func NewEncoderFuncJSON ¶
func NewEncoderFuncJSON() EncoderFunc
func NewEncoderFuncText ¶
func NewEncoderFuncText() EncoderFunc
func NewEncoderFuncXML ¶
func NewEncoderFuncXML() EncoderFunc
type TextDecoder ¶
type TextDecoder struct {
// contains filtered or unexported fields
}
func NewTextDecoder ¶
func NewTextDecoder(r io.Reader) *TextDecoder
func (*TextDecoder) Decode ¶
func (dec *TextDecoder) Decode(v any) error
type TextEncoder ¶
type TextEncoder struct {
// contains filtered or unexported fields
}
func NewTextEncoder ¶
func NewTextEncoder(w io.Writer) *TextEncoder
func (*TextEncoder) Encode ¶
func (enc *TextEncoder) Encode(v any) error
Click to show internal directories.
Click to hide internal directories.