Marshaler is the interface representing objects that can marshal themselves.
| 182 | |
| 183 | // Marshaler is the interface representing objects that can marshal themselves. |
| 184 | type Marshaler interface { |
| 185 | Marshal() ([]byte, error) |
| 186 | } |
| 187 | |
| 188 | // EncodeMessage writes the protocol buffer to the Buffer, |
| 189 | // prefixed by a varint-encoded length. |
no outgoing calls
no test coverage detected
searching dependent graphs…