Boost
C++ Libraries
...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
This version of Boost is under active development. You are currently in the master branch. The current version is 1.91.0.
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 to consume, callers should check
the return value of is_done to determine if the entire
message has been serialized.
|
Name |
Description |
|---|---|
|
|
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 |