char * decode_vstr(const uint8_t **bufp, size_t *remainp)
Decode a vstr (vint64, data, null).
virtual size_t encoded_length() const
Returns serialized object length.
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.
size_t encoded_length_vstr(size_t len)
Computes the encoded length of vstr (vint64, data, null)
size_t encoded_length_internal() const override
Returns internal serialized length.
const char * m_output_file_name
Output file name.
virtual void encode(uint8_t **bufp) const
Writes serialized representation of object to a buffer.
Declarations for DumpPseudoTable request parameters.
Logging routines and macros.
Compatibility Macros for C/C++.
Functions to serialize/deserialize primitives to/from a memory buffer.
virtual void decode(const uint8_t **bufp, size_t *remainp)
Reads serialized representation of object from a buffer.
void encode_vstr(uint8_t **bufp, const void *buf, size_t len)
Encode a buffer as variable length string (vint64, data, null)
const char * m_pseudo_table_name
Pseudo table name.
TableIdentifier m_table
Table identifier
void decode_internal(uint8_t version, const uint8_t **bufp, size_t *remainp) override
Reads serialized representation of object from a buffer.