package msgpack
|
|
|
|
type Marshaler interface {
|
|
MarshalMsgpack() ([]byte, error)
|
|
}
|
|
|
|
type Unmarshaler interface {
|
|
UnmarshalMsgpack([]byte) error
|
|
}
|
|
|
|
type CustomEncoder interface {
|
|
EncodeMsgpack(*Encoder) error
|
|
}
|
|
|
|
type CustomDecoder interface {
|
|
DecodeMsgpack(*Decoder) error
|
|
}
|