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

PrevUpHomeNext
buffers_suffix::consume

Remove bytes from the beginning of the sequence.

Synopsis
void
consume(
    std::size_t amount);
Parameters

Name

Description

amount

The number of bytes to remove. If this is larger than the number of bytes remaining, all the bytes remaining are removed.


PrevUpHomeNext