boost::capy::any_buffer_sink::commit_eof
Commit final bytes and signal end‐of‐stream.
Description
Commits n bytes written to the buffers returned by the most recent call to prepare and finalizes the sink. After success, no further operations are permitted.
Preconditions
The wrapper must contain a valid sink (has_value() == true).
Parameters
| Name | Description |
|---|---|
n |
The number of bytes to commit. |
Created with MrDocs