char * decode_vstr(const uint8_t **bufp, size_t *remainp)
Decode a vstr (vint64, data, null).
Declarations for Canonicalize.
virtual size_t encoded_length() const
Returns serialized object length.
TableIdentifierManaged m_table
Table identifier of table to which range belongs
string m_source
Source RangeServer.
size_t encoded_length_vstr(size_t len)
Computes the encoded length of vstr (vint64, data, null)
uint64_t decode_i64(const uint8_t **bufp, size_t *remainp)
Decode a 64-bit integer in little-endian order.
size_t encoded_length_internal() const override
Returns internal serialized length.
virtual void encode(uint8_t **bufp) const
Writes serialized representation of object to a buffer.
void decode_internal(uint8_t version, const uint8_t **bufp, size_t *remainp) override
Reads serialized representation of object from a buffer.
Logging routines and macros.
Compatibility Macros for C/C++.
void encode_i64(uint8_t **bufp, uint64_t val)
Encode a 64-bit integer in little-endian order.
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.
RangeSpecManaged m_range_spec
Range specification
void encode_vstr(uint8_t **bufp, const void *buf, size_t len)
Encode a buffer as variable length string (vint64, data, null)
int64_t m_range_id
Range MetaLog entry identifier
uint8_t encoding_version() const override
Returns encoding version.
void encode_internal(uint8_t **bufp) const override
Writes serialized representation of object to a buffer.
Declarations for RelinquishAcknowledge request parameters.