Consume buffer octets in the serialization.
void consume( std::size_t n);
This function should be called after one or more octets contained in the
buffers provided in the prior call to
next have been used. After a call
consume, callers should check
the return value of
is_done to determine if the entire
message has been serialized.
The number of octets to consume. This number must be greater
than zero and no greater than the number of octets in the buffers
provided in the prior call to