msgid ""
msgstr ""
"Project-Id-Version: English (Boost Beast Translation (zh_Hans))\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2026-06-06 18:40+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: English <https://insights.cppalliance.org/weblate/projects/"
"boost-beast-documentation-zh_Hans/doc-qbk-07-concepts-dynamicbuffer-qbk/en/>"
"\n"
"Language: en\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 2026.5\n"

#. type: section title
#: 10
#, read-only
msgid "DynamicBuffer"
msgstr "DynamicBuffer"

#. type: paragraph
#: 12
#, read-only
msgid ""
"A dynamic buffer encapsulates memory storage that may be automatically "
"resized as required, where the memory is divided into an input sequence "
"followed by an output sequence. These memory regions are internal to the "
"dynamic buffer, but direct access to the elements is provided to permit them "
"to be efficiently used with I/O operations, such as the send or receive "
"operations of a socket. Data written to the output sequence of a dynamic "
"buffer object is appended to the input sequence of the same object."
msgstr ""
"A dynamic buffer encapsulates memory storage that may be automatically "
"resized as required, where the memory is divided into an input sequence "
"followed by an output sequence. These memory regions are internal to the "
"dynamic buffer, but direct access to the elements is provided to permit them "
"to be efficiently used with I/O operations, such as the send or receive "
"operations of a socket. Data written to the output sequence of a dynamic "
"buffer object is appended to the input sequence of the same object."

#. type: paragraph
#: 20
#, read-only
msgid ""
"The interface to this concept is intended to permit the following "
"implementation strategies:"
msgstr ""
"The interface to this concept is intended to permit the following "
"implementation strategies:"

#. type: list
#: 23
#, read-only
msgid "* A single contiguous octet array, which is reallocated as necessary to"
msgstr "* A single contiguous octet array, which is reallocated as necessary to"

#. type: list
#: 27
#, read-only
msgid ""
"* A sequence of one or more octet arrays, where each array is of the same"
msgstr ""
"* A sequence of one or more octet arrays, where each array is of the same"

#. type: list
#: 31
#, read-only
msgid ""
"* A sequence of one or more octet arrays of varying sizes. Additional octet"
msgstr ""
"* A sequence of one or more octet arrays of varying sizes. Additional octet"

#. type: heading
#: 36
#, read-only
msgid "Associated With"
msgstr "Associated With"

#. type: list
#: 38
#, read-only
msgid ""
"* `boost::asio::is_dynamic_buffer`\n"
"* __ConstBufferSequence__\n"
"* __MutableBufferSequence__"
msgstr ""
"* `boost::asio::is_dynamic_buffer`\n"
"* __ConstBufferSequence__\n"
"* __MutableBufferSequence__"

#. type: heading
#: 42
#, read-only
msgid "Requirements"
msgstr "Requirements"

#. type: list
#: 44
#, read-only
msgid ""
"* `D` denotes a dynamic buffer class.\n"
"* `a` denotes a value of type `D`.\n"
"* `c` denotes a (possibly const) value of type `D`.\n"
"* `n` denotes a value of type `std::size_t`.\n"
"* `T` denotes a type meeting the requirements for __ConstBufferSequence__.\n"
"* `U` denotes a type meeting the requirements for __MutableBufferSequence__."
msgstr ""
"* `D` denotes a dynamic buffer class.\n"
"* `a` denotes a value of type `D`.\n"
"* `c` denotes a (possibly const) value of type `D`.\n"
"* `n` denotes a value of type `std::size_t`.\n"
"* `T` denotes a type meeting the requirements for __ConstBufferSequence__.\n"
"* `U` denotes a type meeting the requirements for __MutableBufferSequence__."

#. type: table title
#: 51
#, read-only
msgid "Valid expressions"
msgstr "Valid expressions"

#. type: table cell
#: 51
#, read-only
msgid "Expression"
msgstr "Expression"

#. type: table cell
#: 51
#, read-only
msgid "Type"
msgstr "Type"

#. type: table cell
#: 51
#, read-only
msgid "Semantics, Pre/Post-conditions"
msgstr "Semantics, Pre/Post-conditions"

#. type: table cell
#.
#: 51
#, read-only
msgctxt "51"
msgid "`D::const_buffers_type`"
msgstr "`D::const_buffers_type`"

#. type: table cell
#: 51
#, read-only
msgid "`T`"
msgstr "`T`"

#. type: table cell
#: 51
#, read-only
msgid "This type represents the memory associated with the input sequence."
msgstr "This type represents the memory associated with the input sequence."

#. type: table cell
#.
#: 51
#, read-only
msgctxt "51"
msgid "`D::mutable_buffers_type`"
msgstr "`D::mutable_buffers_type`"

#. type: table cell
#: 51
#, read-only
msgid "`U`"
msgstr "`U`"

#. type: table cell
#: 51
#, read-only
msgid "This type represents the memory associated with the output sequence."
msgstr "This type represents the memory associated with the output sequence."

#. type: table cell
#: 51
#, read-only
msgid "`c.size()`"
msgstr "`c.size()`"

#. type: table cell
#.
#: 51
#, read-only
msgctxt "51"
msgid "`std::size_t`"
msgstr "`std::size_t`"

#. type: table cell
#: 51
#, read-only
msgid "Returns the size, in bytes, of the input sequence."
msgstr "Returns the size, in bytes, of the input sequence."

#. type: table cell
#: 51
#, read-only
msgid "`c.max_size()`"
msgstr "`c.max_size()`"

#. type: table cell
#: 51
#, read-only
msgid ""
"Returns the permitted maximum of the sum of the sizes of the input sequence "
"and output sequence."
msgstr ""
"Returns the permitted maximum of the sum of the sizes of the input sequence "
"and output sequence."

#. type: table cell
#: 51
#, read-only
msgid "`c.capacity()`"
msgstr "`c.capacity()`"

#. type: table cell
#: 51
#, read-only
msgid ""
"Returns the maximum sum of the sizes of the input sequence and output "
"sequence that the dynamic buffer can hold without requiring reallocation."
msgstr ""
"Returns the maximum sum of the sizes of the input sequence and output "
"sequence that the dynamic buffer can hold without requiring reallocation."

#. type: table cell
#: 51
#, read-only
msgid "`c.data()`"
msgstr "`c.data()`"

#. type: table cell
#: 51
#, read-only
msgid ""
"Returns a constant buffer sequence u that represents the memory associated "
"with the input sequence, and where `buffer_size(u) == size()`."
msgstr ""
"Returns a constant buffer sequence u that represents the memory associated "
"with the input sequence, and where `buffer_size(u) == size()`."

#. type: table cell
#: 51
#, read-only
msgid "`a.prepare(n)`"
msgstr "`a.prepare(n)`"

#. type: table cell
#: 51
#, read-only
msgid ""
"Returns a mutable buffer sequence u representing the output sequence, and "
"where `buffer_size(u) == n`. The dynamic buffer reallocates memory as "
"required. All constant or mutable buffer sequences previously obtained using "
"`data()` or `prepare()` are invalidated.\n"
"\n"
"Throws: `length_error` if `size() + n` exceeds `max_size()`."
msgstr ""
"Returns a mutable buffer sequence u representing the output sequence, and "
"where `buffer_size(u) == n`. The dynamic buffer reallocates memory as "
"required. All constant or mutable buffer sequences previously obtained using "
"`data()` or `prepare()` are invalidated.\n"
"\n"
"Throws: `length_error` if `size() + n` exceeds `max_size()`."

#. type: table cell
#: 51
#, read-only
msgid "`a.commit(n)`"
msgstr "`a.commit(n)`"

#. type: table cell
#: 51
#, read-only
msgid ""
"Appends `n` bytes from the start of the output sequence to the end of the "
"input sequence. The remainder of the output sequence is discarded. If `n` is "
"greater than the size of the output sequence, the entire output sequence is "
"appended to the input sequence. All constant or mutable buffer sequences "
"previously obtained using `data()` or `prepare()` are invalidated."
msgstr ""
"Appends `n` bytes from the start of the output sequence to the end of the "
"input sequence. The remainder of the output sequence is discarded. If `n` is "
"greater than the size of the output sequence, the entire output sequence is "
"appended to the input sequence. All constant or mutable buffer sequences "
"previously obtained using `data()` or `prepare()` are invalidated."

#. type: table cell
#: 51
#, read-only
msgid "`a.consume(n)`"
msgstr "`a.consume(n)`"

#. type: table cell
#: 51
#, read-only
msgid ""
"Removes `n` bytes from beginning of the input sequence. If `n` is greater "
"than the size of the input sequence, the entire input sequence is removed. "
"All constant or mutable buffer sequences previously obtained using `data()` "
"or `prepare()` are invalidated."
msgstr ""
"Removes `n` bytes from beginning of the input sequence. If `n` is greater "
"than the size of the input sequence, the entire input sequence is removed. "
"All constant or mutable buffer sequences previously obtained using `data()` "
"or `prepare()` are invalidated."

#. type: heading
#: 125
#, read-only
msgid "Models"
msgstr "Models"

#. type: list
#: 127
#, read-only
msgid ""
"* [link beast.ref.boost__beast__basic_flat_buffer `basic_flat_buffer`]\n"
"* [link beast.ref.boost__beast__basic_multi_buffer `basic_multi_buffer`]\n"
"* [link beast.ref.boost__beast__flat_buffer `flat_buffer`]\n"
"* [link beast.ref.boost__beast__flat_static_buffer `flat_static_buffer`]\n"
"* [link beast.ref.boost__beast__flat_static_buffer_base "
"`flat_static_buffer_base`]\n"
"* [link beast.ref.boost__beast__static_buffer `static_buffer`]\n"
"* [link beast.ref.boost__beast__static_buffer_base `static_buffer_base`]\n"
"* [link beast.ref.boost__beast__multi_buffer `multi_buffer`]"
msgstr ""
"* [link beast.ref.boost__beast__basic_flat_buffer `basic_flat_buffer`]\n"
"* [link beast.ref.boost__beast__basic_multi_buffer `basic_multi_buffer`]\n"
"* [link beast.ref.boost__beast__flat_buffer `flat_buffer`]\n"
"* [link beast.ref.boost__beast__flat_static_buffer `flat_static_buffer`]\n"
"* [link beast.ref.boost__beast__flat_static_buffer_base "
"`flat_static_buffer_base`]\n"
"* [link beast.ref.boost__beast__static_buffer `static_buffer`]\n"
"* [link beast.ref.boost__beast__static_buffer_base `static_buffer_base`]\n"
"* [link beast.ref.boost__beast__multi_buffer `multi_buffer`]"
