| | 150 | The reboost::message_t is an Copy-on-Write Message with Shared Buffers. |
| | 151 | |
| | 152 | A message holds a limited (defined by `message_max_buffers`, typically `8`) number of shared buffers. One can add new buffers and messages in front and at the end of a message. If the no. of buffers exceed `message_max_buffers`, then the two smallest successive buffers are compacted to one buffer. |
| | 153 | |
| | 154 | Typical operations: |
| | 155 | - void message_t::push_back(shared_buffer_t) |
| | 156 | - void message_t::push_front(shared_buffer_t) |
| | 157 | - shared_buffer_t message_t::linearize() |
| | 158 | - size_t message_t::size() |
| | 159 | |
| | 160 | ''' reboost::shared_buffer_t ''' |