asio C++ library

PrevUpHomeNext

basic_streambuf::consume

Remove characters from the input sequence.

void consume(
    std::size_t n);

Removes n characters from the beginning of the input sequence.

Exceptions

std::length_error

If n > size().


PrevUpHomeNext