39 return 4 + replay_plan.encoded_length() + receiver_plan.encoded_length();
64 replay_plan.encode(bufp);
65 receiver_plan.encode(bufp);
71 replay_plan.decode(bufp, remainp);
72 receiver_plan.decode(bufp, remainp);
uint32_t decode_i32(const uint8_t **bufp, size_t *remainp)
Decode a 32-bit integer in little-endian order.
size_t encoded_length_internal() const override
Returns internal serialized length.
void encode_i32(uint8_t **bufp, uint32_t val)
Encode a 32-bit integer in little-endian order.
Compatibility Macros for C/C++.
void encode_internal(uint8_t **bufp) const override
Writes serialized representation of object to a buffer.
uint8_t encoding_version() const override
Returns encoding version.
void decode_internal(uint8_t version, const uint8_t **bufp, size_t *remainp) override
Reads serialized representation of object from a buffer.