msgpack.go 274 B

1234567891011121314151617
  1. package msgpack
  2. type Marshaler interface {
  3. MarshalMsgpack() ([]byte, error)
  4. }
  5. type Unmarshaler interface {
  6. UnmarshalMsgpack([]byte) error
  7. }
  8. type CustomEncoder interface {
  9. EncodeMsgpack(*Encoder) error
  10. }
  11. type CustomDecoder interface {
  12. DecodeMsgpack(*Decoder) error
  13. }