Unmarshaler is implemented by messages that can unmarshal themselves. This interface is used by the following functions: Unmarshal, UnmarshalMerge, Buffer.Unmarshal, Buffer.DecodeMessage, and Buffer.DecodeGroup. Deprecated: Do not implement.
| 85 | // |
| 86 | // Deprecated: Do not implement. |
| 87 | type Unmarshaler interface { |
| 88 | // Unmarshal parses the encoded bytes of the protobuf wire input. |
| 89 | // The provided buffer is only valid for during method call. |
| 90 | // It should not reset the receiver message. |
| 91 | Unmarshal([]byte) error |
| 92 | } |
| 93 | |
| 94 | // Merger is implemented by messages that can merge themselves. |
| 95 | // This interface is used by the following functions: Clone and Merge. |
no outgoing calls
no test coverage detected