Documentation ¶
Index ¶
- type Decoder
- func (d *Decoder) DecodeAny(v interface{})
- func (d *Decoder) DecodeArrayLen() int
- func (d *Decoder) DecodeBool() bool
- func (d *Decoder) DecodeFloat64() float64
- func (d *Decoder) DecodeInt() int
- func (d *Decoder) DecodeInt64() int64
- func (d *Decoder) DecodeInterface(v msgpack.CustomDecoder)
- func (d *Decoder) DecodeMapLen() int
- func (d *Decoder) DecodeNil()
- func (d *Decoder) DecodeString() string
- func (d *Decoder) Error() error
- func (d *Decoder) Skip()
- func (d *Decoder) SkipCodeIfNil() bool
- type Encoder
- func (e *Encoder) BeginArray()
- func (e *Encoder) BeginMap()
- func (e *Encoder) EncodeAny(v interface{})
- func (e *Encoder) EncodeBool(v bool)
- func (e *Encoder) EncodeFloat64(v float64)
- func (e *Encoder) EncodeInt(v int)
- func (e *Encoder) EncodeInt64(v int64)
- func (e *Encoder) EncodeInterface(v msgpack.CustomEncoder)
- func (e *Encoder) EncodeNil()
- func (e *Encoder) EncodeString(v string)
- func (e *Encoder) EndArray()
- func (e *Encoder) EndMap()
- func (e *Encoder) Flush() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Decoder ¶
type Decoder struct {
// contains filtered or unexported fields
}
func NewDecoder ¶
func (*Decoder) DecodeArrayLen ¶
func (*Decoder) DecodeBool ¶
func (*Decoder) DecodeFloat64 ¶
func (*Decoder) DecodeInt64 ¶
func (*Decoder) DecodeInterface ¶
func (d *Decoder) DecodeInterface(v msgpack.CustomDecoder)
func (*Decoder) DecodeMapLen ¶
func (*Decoder) DecodeString ¶
func (*Decoder) SkipCodeIfNil ¶
type Encoder ¶
type Encoder struct {
// contains filtered or unexported fields
}
func NewEncoder ¶
func (*Encoder) BeginArray ¶
func (e *Encoder) BeginArray()
func (*Encoder) EncodeBool ¶
func (*Encoder) EncodeFloat64 ¶
func (*Encoder) EncodeInt64 ¶
func (*Encoder) EncodeInterface ¶
func (e *Encoder) EncodeInterface(v msgpack.CustomEncoder)
func (*Encoder) EncodeString ¶
Click to show internal directories.
Click to hide internal directories.