3 #include "../stdlib/string.hpp" 44 virtual bool to_string(
string& out) = 0;
59 virtual int update(
const char* data,
int dlen) = 0;
102 void pack_add(
unsigned char ch,
string& out);
105 void pack_add(
unsigned short n,
string& out);
108 void pack_add(
const string& s,
string& out);
111 bool unpack_short(
const char* data,
size_t len,
unsigned short& out);
virtual bool finished(void) const
mqtt_header & get_header(void)
const mqtt_header & get_header(void) const