27 #ifndef FsBroker_Lib_Response_Parameters_Length_h
28 #define FsBroker_Lib_Response_Parameters_Length_h
40 namespace Parameters {
57 Length(uint64_t length) : m_length(length) {}
65 uint8_t encoding_version()
const override;
67 size_t encoded_length_internal()
const override;
69 void encode_internal(uint8_t **bufp)
const override;
71 void decode_internal(uint8_t version,
const uint8_t **bufp,
72 size_t *remainp)
override;
82 #endif // FsBroker_Lib_Response_Parameters_Length_h
uint64_t m_length
File length.
uint64_t get_length()
Gets file length.
Response parameters for length requests.
Declarations for Serializable.
Mixin class that provides a standard serialization interface.
Length(uint64_t length)
Constructor.