27 #ifndef FsBroker_Lib_Request_Parameters_Seek_h
28 #define FsBroker_Lib_Request_Parameters_Seek_h
40 namespace Parameters {
58 Seek(int32_t fd, uint64_t offset) : m_fd(fd), m_offset(offset) {}
70 uint8_t encoding_version()
const override;
72 size_t encoded_length_internal()
const override;
74 void encode_internal(uint8_t **bufp)
const override;
76 void decode_internal(uint8_t version,
const uint8_t **bufp,
77 size_t *remainp)
override;
91 #endif // FsBroker_Lib_Request_Parameters_Seek_h
Seek(int32_t fd, uint64_t offset)
Constructor.
int32_t get_fd()
Gets file descriptor.
uint64_t get_offset()
Gets file offset.
uint64_t m_offset
File offset.
Declarations for Serializable.
Mixin class that provides a standard serialization interface.
Request parameters for seek requests.