void message_header::marshall(binary_writer& writer) { writer.write((const char*)this, serialized_size()); }
void write_key_value_pair(std::ostream& out, typename super::heap_item item) { writer.write(out, item->key_, item->val_); }
void message_header::marshall(binary_writer& writer) { writer.write((const char*)this, MSG_HDR_SERIALIZED_SIZE); }