47 uint8_t *header_encode_position = *bufp;
49 uint8_t *payload_encode_position = *bufp;
53 HT_ASSERT(header_encode_position == payload_encode_position);
virtual size_t encoded_length() const
Returns serialized object length.
uint32_t fletcher32(const void *data8, size_t len8)
Compute fletcher32 checksum for arbitary data.
Static length of entity header.
virtual void encode(uint8_t **bufp) const
Writes serialized representation of object to a buffer.
Logging routines and macros.
Compatibility Macros for C/C++.
Functions to serialize/deserialize primitives to/from a memory buffer.
Implementation of checksum routines.
Error codes, Exception handling, error logging.