boost::capy::any_buffer_sink::commit
Commit bytes written to the prepared buffers.
Description
Commits n bytes written to the buffers returned by the most recent call to prepare. The operation may trigger underlying I/O.
Preconditions
The wrapper must contain a valid sink (has_value() == true).
Parameters
| Name | Description |
|---|---|
n |
The number of bytes to commit. |
Created with MrDocs