Unmarshaler is the interface fulfilled by objects that know how to unmarshal themselves from MessagePack. UnmarshalMsg unmarshals the object from binary, returing any leftover bytes and any errors encountered.
| 98 | // from binary, returing any leftover |
| 99 | // bytes and any errors encountered. |
| 100 | type Unmarshaler interface { |
| 101 | UnmarshalMsg([]byte) ([]byte, error) |
| 102 | } |
| 103 | |
| 104 | // Decodable is the interface fulfilled |
| 105 | // by objects that know how to read |
no outgoing calls
no test coverage detected
searching dependent graphs…