...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Remove bytes from the input sequence.
void consume( std::size_t n);
If n
is greater than the
number of bytes in the input sequence, all bytes in the input sequence
are removed.
All previous buffers sequences obtained from calls to basic_flat_buffer::data
or basic_flat_buffer::prepare
are invalidated.