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 is the documentation for an old version of Boost. Click here to view this page for the latest version.
PrevUpHomeNext
buffers_suffix::consume

Remove bytes from the beginning of the sequence.

Synopsis
void
consume(
    std::size_t amount);
Description
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