You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
274 B

  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. }