Documentation ¶
Overview ¶
Package msgp implements encoding and decoding of MessagePack, relying on serialization code generated by msgp, the code generation library for MessagePack at github.com/tinylib/msgp.
Index ¶
- type Codec
- type Id
- func (z *Id) DecodeMsg(dc *msgp.Reader) (err error)
- func (z Id) EncodeMsg(en *msgp.Writer) (err error)
- func (id Id) Marshal(in []byte) ([]byte, error)
- func (z Id) MarshalMsg(b []byte) (o []byte, err error)
- func (z Id) Msgsize() (s int)
- func (id Id) String() string
- func (id *Id) Unmarshal(b []byte) error
- func (z *Id) UnmarshalMsg(bts []byte) (o []byte, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Id ¶
type Id []byte
Id is the msgp equivalent of bow.Id. It must be used instead.
func (Id) MarshalMsg ¶
MarshalMsg implements msgp.Marshaler
Click to show internal directories.
Click to hide internal directories.