28 #ifndef FsBroker_Lib_Response_Parameters_Append_h
29 #define FsBroker_Lib_Response_Parameters_Append_h
41 namespace Parameters {
59 Append(uint64_t offset, uint32_t amount)
60 : m_offset(offset), m_amount(amount) {}
72 uint8_t encoding_version()
const override;
74 size_t encoded_length_internal()
const override;
76 void encode_internal(uint8_t **bufp)
const override;
78 void decode_internal(uint8_t version,
const uint8_t **bufp,
79 size_t *remainp)
override;
93 #endif // FsBroker_Lib_Response_Parameters_Append_h
Append(uint64_t offset, uint32_t amount)
Constructor.
Response parameters for append requests.
uint64_t get_offset()
Gets append offset.
Declarations for Serializable.
Mixin class that provides a standard serialization interface.
uint32_t get_amount()
Gets amount of data appended.