Decode is allowed and expected to retain a reference to data after returning (unlike encoding.BinaryUnmarshaler).
(data []byte)
| 18 | // Decode is allowed and expected to retain a reference to data after |
| 19 | // returning (unlike encoding.BinaryUnmarshaler). |
| 20 | Decode(data []byte) error |
| 21 | |
| 22 | // Encode appends itself to dst and returns the new buffer. |
| 23 | Encode(dst []byte) ([]byte, error) |
no outgoing calls
no test coverage detected