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.90.0.
Remove bytes from beginning of the readable bytes.
void consume( std::size_t n);
Removes n bytes from the beginning of the readable bytes.
All buffers sequences previously obtained using data or prepare become invalid.
|
Name |
Description |
|---|---|
|
|
The number of bytes to remove. If this number is greater than the number of readable bytes, all readable bytes are removed. |
No-throw guarantee.