boost::capy::flat_dynamic_buffer::commit

Move bytes from the output to the input sequence.

Synopsis

void
commit(std::size_t n) noexcept;

Description

Invalidates buffer sequences previously obtained from prepare. Buffer sequences from data remain valid.

Parameters

Name Description

n

The number of bytes to commit. If greater than the prepared size, all prepared bytes are committed.

Created with MrDocs