Beast Logo

PrevUpHomeNext

consuming_buffers::consume

Remove bytes from the beginning of the sequence.

void
consume(
    std::size_t n);
Parameters

n

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


PrevUpHomeNext