Marshal formats the encoded bytes of the message. It should be deterministic and emit valid protobuf wire data. The caller takes ownership of the returned buffer.
()
| 77 | // It should be deterministic and emit valid protobuf wire data. |
| 78 | // The caller takes ownership of the returned buffer. |
| 79 | Marshal() ([]byte, error) |
| 80 | } |
| 81 | |
| 82 | // Unmarshaler is implemented by messages that can unmarshal themselves. |
no outgoing calls