easymsgpack

package
v0.0.0-...-bf68151 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 13, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

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 NewDecoder(dec *msgpack.Decoder) *Decoder

func (*Decoder) DecodeAny

func (d *Decoder) DecodeAny(v interface{})

func (*Decoder) DecodeArrayLen

func (d *Decoder) DecodeArrayLen() int

func (*Decoder) DecodeBool

func (d *Decoder) DecodeBool() bool

func (*Decoder) DecodeFloat64

func (d *Decoder) DecodeFloat64() float64

func (*Decoder) DecodeInt

func (d *Decoder) DecodeInt() int

func (*Decoder) DecodeInt64

func (d *Decoder) DecodeInt64() int64

func (*Decoder) DecodeInterface

func (d *Decoder) DecodeInterface(v msgpack.CustomDecoder)

func (*Decoder) DecodeMapLen

func (d *Decoder) DecodeMapLen() int

func (*Decoder) DecodeNil

func (d *Decoder) DecodeNil()

func (*Decoder) DecodeString

func (d *Decoder) DecodeString() string

func (*Decoder) Error

func (d *Decoder) Error() error

func (*Decoder) Skip

func (d *Decoder) Skip()

func (*Decoder) SkipCodeIfNil

func (d *Decoder) SkipCodeIfNil() bool

type Encoder

type Encoder struct {
	// contains filtered or unexported fields
}

func NewEncoder

func NewEncoder(enc *msgpack.Encoder) *Encoder

func (*Encoder) BeginArray

func (e *Encoder) BeginArray()

func (*Encoder) BeginMap

func (e *Encoder) BeginMap()

func (*Encoder) EncodeAny

func (e *Encoder) EncodeAny(v interface{})

func (*Encoder) EncodeBool

func (e *Encoder) EncodeBool(v bool)

func (*Encoder) EncodeFloat64

func (e *Encoder) EncodeFloat64(v float64)

func (*Encoder) EncodeInt

func (e *Encoder) EncodeInt(v int)

func (*Encoder) EncodeInt64

func (e *Encoder) EncodeInt64(v int64)

func (*Encoder) EncodeInterface

func (e *Encoder) EncodeInterface(v msgpack.CustomEncoder)

func (*Encoder) EncodeNil

func (e *Encoder) EncodeNil()

func (*Encoder) EncodeString

func (e *Encoder) EncodeString(v string)

func (*Encoder) EndArray

func (e *Encoder) EndArray()

func (*Encoder) EndMap

func (e *Encoder) EndMap()

func (*Encoder) Flush

func (e *Encoder) Flush() error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL