boost::capy::any_buffer_sink::prepare

Prepare writable buffers.

Synopsis

std::span<mutable_buffer>
prepare(std::span<mutable_buffer> dest);

Description

Fills the provided span with mutable buffer descriptors pointing to the underlying sink's internal storage. This operation is synchronous.

Preconditions

The wrapper must contain a valid sink (has_value() == true).

Return Value

A span of filled buffers.

Parameters

Name Description

dest

Span of mutable_buffer to fill.

Created with MrDocs