<?xml version="1.0" encoding="utf-8"?>
<resources>
    <string name="">BuffersGenerator</string>
    <string name="">A [*BuffersGenerator] provides a generalized interface for generating serialized data for sequential processing.</string>
    <string name="">The generator will be asked to produce buffers. The consuming code will signal how much of the data has been consumed, and repeatedly query for buffers until no more data is available, or the generator indicates an error condition.</string>
    <string name="">In this way, serializers can be adapted as [*BuffersGenerator], for example [link beast.ref.boost__beast__http__message_generator `http::message_generator`] which provides a type-erased interface for a variety of concrete http message types.</string>
    <string name="">Overloads of [link beast.ref.boost__beast__write `write`] and [link beast.ref.boost__beast__async_write `async_write`] operations are provided as free functions. These operations will consume the output of a [*BuffersGenerator] and process the data by writing them to a __SyncWriteStream__ or __AsyncWriteStream__ respectively.</string>
    <string name="">Associated Types</string>
    <string name="">* [link beast.ref.boost__beast__is_buffers_generator `is_buffers_generator`]\n* __ConstBufferSequence__</string>
    <string name="">Requirements</string>
    <string name="">In this table:</string>
    <string name="">* `G` denotes a type meeting the requirements of [*BuffersGenerator].\n* `g` denotes a value of type `G`.\n* `c` denotes a possibly-const value of type `G`.\n* `n` is a value of type `std::size_t`.\n* `ec` is a value of type [link beast.ref.boost__beast__error_code `error_code&amp;`].</string>
    <string name="">Valid expressions</string>
    <string name="">Expression</string>
    <string name="">Type</string>
    <string name="">Semantics, Pre/Post-conditions</string>
    <string name="45">`G::const_buffers_type`</string>
    <string name="">A type which meets the requirements of __ConstBufferSequence__. This is the type of buffer returned by `g.prepare(ec)`.</string>
    <string name="">`c.is_done()`</string>
    <string name="">`bool`</string>
    <string name="">Called to ask the generator for its completion status.\n\nA generator has completed when no new buffer will be produced and previously produced buffers have been fully consumed.\n\n[*Note:] The result of invoking `prepare` on `g` once it has completed is unspecified.</string>
    <string name="">`g.prepare(ec)`</string>
    <string name="">Called to ask the generator to produce buffers containing data for processing.\n\nThe returned value is the __ConstBufferSequence__ representing unconsumed data.\n\nThe function will ensure that `ec.failed()` is `false` if there was no error or set to the appropriate error code if there was one.\n\nIf no unconsumed data is available, this operation shall make progress to eventually reach completion.\n\nThe result of invoking `prepare` after completion or encountered error(s) is defined by the generator implementation. It can not be assumed to be meaningful or safe to do so, in general.\n\nThe capacity of the buffer returned is defined by the generator implementation.\n\n[*Note:] Any buffers obtained by previous calls to `prepare` are invalidated.</string>
    <string name="">`g.consume(n)`</string>
    <string name="">This function is called to signal that the consumer (caller) of the generator has processed part of the data returned by the previous call to `prepare`.\n\nThe value of `n` indicates how much of the data processed (in bytes).\n\nWhen `n` exceeds the number of bytes returned from the last call to `prepare`, `consume` shall behave as if `n` was equal to that number.\n\nRemaining unconsumed data will be returned from subsequent calls to `prepare`.\n\n[*Note:] Any buffers obtained by previous calls to `prepare` are invalidated.</string>
    <string name="">`is_buffers_generator&lt;G&gt;`</string>
    <string name="">`std::bool_constant`</string>
    <string name="">An alias for `std::true_type` for `G`, otherwise an alias for `std::false_type`.</string>
    <string name="">Exemplar</string>
    <string name="122">```</string>
    <string name="135">```</string>
    <string name="">Models</string>
    <string name="">* [link beast.ref.boost__beast__http__message_generator `http::message_generator`]</string>
    <string name="">Algorithms</string>
    <string name="">* [link beast.ref.boost__beast__async_write `async_write`]\n* [link beast.ref.boost__beast__write `write`]</string>
</resources>
