Ejemplo n.º 1
0
 virtual void _dump(storage_t* ary) {
     if(super::header_) {
         super::header_->update_from_ary(*ary);
         super::header_->format(format);
         super::header_->counter_len(writer.val_len());
     }
     super::_dump(ary);
 }
Ejemplo n.º 2
0
 void write_key_value_pair(std::ostream& out, typename super::heap_item item) {
     writer.write(out, item->key_, item->val_);
 }
Ejemplo n.º 3
0
void message_header::marshall(binary_writer& writer)
{
    writer.write((const char*)this, serialized_size());
}
Ejemplo n.º 4
0
void message_header::marshall(binary_writer& writer)
{
    writer.write((const char*)this, MSG_HDR_SERIALIZED_SIZE);
}