<?xml version="1.0" encoding="UTF-8"?>
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.1" version="1.1">
  <file original="NoName" source-language="en" datatype="plaintext" target-language="zh_Hans">
    <body>
      <trans-unit xml:space="preserve" approved="no" id="5b85b086dbc99f6f">
        <source>DynamicBuffer</source>
        <target state="translated">动态缓冲区</target>
        <context-group name="" purpose="location">
          <context context-type="sourcefile">10</context>
        </context-group>
        <note from="developer">type: section title</note>
      </trans-unit>
      <trans-unit xml:space="preserve" approved="no" id="5afc0c81fb325238">
        <source>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.</source>
        <target state="translated">动态缓冲区用于封装可根据需要自动调整大小的内存存储。该内存被划分为一个输入序列和一个输出序列。这些内存区域属于动态缓冲区的内部，但提供对元素的直接访问，以便将其高效用于 I/O 操作，例如套接字的发送或接收操作。写入动态缓冲区对象输出序列的数据，将被追加到该对象的输入序列中。</target>
        <context-group name="" purpose="location">
          <context context-type="sourcefile">12</context>
        </context-group>
        <note from="developer">type: paragraph</note>
      </trans-unit>
      <trans-unit xml:space="preserve" approved="no" id="171c1ce6f0dc9372">
        <source>The interface to this concept is intended to permit the following implementation strategies:</source>
        <target state="translated">该概念的接口旨在支持以下实现策略：</target>
        <context-group name="" purpose="location">
          <context context-type="sourcefile">20</context>
        </context-group>
        <note from="developer">type: paragraph</note>
      </trans-unit>
      <trans-unit xml:space="preserve" approved="no" id="4bd6967245ab20ca">
        <source>* A single contiguous octet array, which is reallocated as necessary to</source>
        <target state="translated">* 使用单个连续字节数组，并根据需要对该数组进行重新分配</target>
        <context-group name="" purpose="location">
          <context context-type="sourcefile">23</context>
        </context-group>
        <note from="developer">type: list</note>
      </trans-unit>
      <trans-unit xml:space="preserve" approved="no" id="55fc6b1a6d54c45f">
        <source>* A sequence of one or more octet arrays, where each array is of the same</source>
        <target state="translated">* 使用一个或多个字节数组的序列，其中每个数组的大小均相同</target>
        <context-group name="" purpose="location">
          <context context-type="sourcefile">27</context>
        </context-group>
        <note from="developer">type: list</note>
      </trans-unit>
      <trans-unit xml:space="preserve" approved="no" id="2972c044d9639cf3">
        <source>* A sequence of one or more octet arrays of varying sizes. Additional octet</source>
        <target state="translated">* 使用一个或多个大小可变的字节数组序列。额外的字节</target>
        <context-group name="" purpose="location">
          <context context-type="sourcefile">31</context>
        </context-group>
        <note from="developer">type: list</note>
      </trans-unit>
      <trans-unit xml:space="preserve" approved="no" id="11e54f3d3644149e">
        <source>Associated With</source>
        <target state="translated">关联于</target>
        <context-group name="" purpose="location">
          <context context-type="sourcefile">36</context>
        </context-group>
        <note from="developer">type: heading</note>
      </trans-unit>
      <trans-unit xml:space="preserve" approved="no" id="c459eea588c0d3fb">
        <source>* `boost::asio::is_dynamic_buffer`
* __ConstBufferSequence__
* __MutableBufferSequence__</source>
        <target state="translated">* `boost::asio::is_dynamic_buffer`
* __ConstBufferSequence__
* __MutableBufferSequence__</target>
        <context-group name="" purpose="location">
          <context context-type="sourcefile">38</context>
        </context-group>
        <note from="developer">type: list</note>
      </trans-unit>
      <trans-unit xml:space="preserve" approved="no" id="8b11f6ce20c469c2">
        <source>Requirements</source>
        <target state="translated">要求</target>
        <context-group name="" purpose="location">
          <context context-type="sourcefile">42</context>
        </context-group>
        <note from="developer">type: heading</note>
      </trans-unit>
      <trans-unit xml:space="preserve" approved="no" id="280b61869adc1ea1">
        <source>* `D` denotes a dynamic buffer class.
* `a` denotes a value of type `D`.
* `c` denotes a (possibly const) value of type `D`.
* `n` denotes a value of type `std::size_t`.
* `T` denotes a type meeting the requirements for __ConstBufferSequence__.
* `U` denotes a type meeting the requirements for __MutableBufferSequence__.</source>
        <target state="translated">* `D`：用于表示一个动态缓冲区类。
* `a`：用于表示一个 `D` 类型的值。
* `c`：用于表示一个 `D` 类型的值（可能为 const）。
* `n`：用于表示一个 `std::size_t` 类型的值。
* `T`：用于表示一个满足 __ConstBufferSequence__ 要求的类型。
* `U`：用于表示一个满足 __MutableBufferSequence__ 要求的类型。</target>
        <context-group name="" purpose="location">
          <context context-type="sourcefile">44</context>
        </context-group>
        <note from="developer">type: list</note>
      </trans-unit>
      <trans-unit xml:space="preserve" approved="no" id="f2992975a033cf9f">
        <source>Valid expressions</source>
        <target state="translated">合法表达式</target>
        <context-group name="" purpose="location">
          <context context-type="sourcefile">51</context>
        </context-group>
        <note from="developer">type: table title</note>
      </trans-unit>
      <trans-unit xml:space="preserve" approved="no" id="8d4d85b75b66a390">
        <source>Expression</source>
        <target state="translated">表达式</target>
        <context-group name="" purpose="location">
          <context context-type="sourcefile">51</context>
        </context-group>
        <note from="developer">type: table cell</note>
      </trans-unit>
      <trans-unit xml:space="preserve" approved="no" id="4260caf7dbb163c2">
        <source>Type</source>
        <target state="translated">类型</target>
        <context-group name="" purpose="location">
          <context context-type="sourcefile">51</context>
        </context-group>
        <note from="developer">type: table cell</note>
      </trans-unit>
      <trans-unit xml:space="preserve" approved="no" id="e9c35981ac872e45">
        <source>Semantics, Pre/Post-conditions</source>
        <target state="translated">语义，前置/后置条件</target>
        <context-group name="" purpose="location">
          <context context-type="sourcefile">51</context>
        </context-group>
        <note from="developer">type: table cell</note>
      </trans-unit>
      <trans-unit xml:space="preserve" id="51">
        <source>`D::const_buffers_type`</source>
        <target></target>
        <context-group name="" purpose="location">
          <context context-type="sourcefile">51</context>
        </context-group>
        <note from="developer">type: table cell</note>
      </trans-unit>
      <trans-unit xml:space="preserve" approved="no" id="81015bccc69c4e07">
        <source>`T`</source>
        <target state="translated">`T`</target>
        <context-group name="" purpose="location">
          <context context-type="sourcefile">51</context>
        </context-group>
        <note from="developer">type: table cell</note>
      </trans-unit>
      <trans-unit xml:space="preserve" approved="no" id="e17402dcb51ac757">
        <source>This type represents the memory associated with the input sequence.</source>
        <target state="translated">该类型用于表示与输入序列关联的内存。</target>
        <context-group name="" purpose="location">
          <context context-type="sourcefile">51</context>
        </context-group>
        <note from="developer">type: table cell</note>
      </trans-unit>
      <trans-unit xml:space="preserve" id="51">
        <source>`D::mutable_buffers_type`</source>
        <target></target>
        <context-group name="" purpose="location">
          <context context-type="sourcefile">51</context>
        </context-group>
        <note from="developer">type: table cell</note>
      </trans-unit>
      <trans-unit xml:space="preserve" approved="no" id="11cf36ae644e19f5">
        <source>`U`</source>
        <target state="translated">`U`</target>
        <context-group name="" purpose="location">
          <context context-type="sourcefile">51</context>
        </context-group>
        <note from="developer">type: table cell</note>
      </trans-unit>
      <trans-unit xml:space="preserve" approved="no" id="9b1c5914aa0dd8d4">
        <source>This type represents the memory associated with the output sequence.</source>
        <target state="translated">该类型用于表示与输出序列关联的内存。</target>
        <context-group name="" purpose="location">
          <context context-type="sourcefile">51</context>
        </context-group>
        <note from="developer">type: table cell</note>
      </trans-unit>
      <trans-unit xml:space="preserve" approved="no" id="5a1183eb37de28ca">
        <source>`c.size()`</source>
        <target state="translated">`c.size()`</target>
        <context-group name="" purpose="location">
          <context context-type="sourcefile">51</context>
        </context-group>
        <note from="developer">type: table cell</note>
      </trans-unit>
      <trans-unit xml:space="preserve" id="51">
        <source>`std::size_t`</source>
        <target></target>
        <context-group name="" purpose="location">
          <context context-type="sourcefile">51</context>
        </context-group>
        <note from="developer">type: table cell</note>
      </trans-unit>
      <trans-unit xml:space="preserve" approved="no" id="eb89cde5ea7cbbde">
        <source>Returns the size, in bytes, of the input sequence.</source>
        <target state="translated">返回输入序列的大小（以字节为单位）。</target>
        <context-group name="" purpose="location">
          <context context-type="sourcefile">51</context>
        </context-group>
        <note from="developer">type: table cell</note>
      </trans-unit>
      <trans-unit xml:space="preserve" approved="no" id="2cf9179d7af73733">
        <source>`c.max_size()`</source>
        <target state="translated">`c.max_size()`</target>
        <context-group name="" purpose="location">
          <context context-type="sourcefile">51</context>
        </context-group>
        <note from="developer">type: table cell</note>
      </trans-unit>
      <trans-unit xml:space="preserve" approved="no" id="91ac5759d48de51c">
        <source>Returns the permitted maximum of the sum of the sizes of the input sequence and output sequence.</source>
        <target state="translated">返回输入序列和输出序列大小之和的允许最大值。</target>
        <context-group name="" purpose="location">
          <context context-type="sourcefile">51</context>
        </context-group>
        <note from="developer">type: table cell</note>
      </trans-unit>
      <trans-unit xml:space="preserve" approved="no" id="979c51b674f6b457">
        <source>`c.capacity()`</source>
        <target state="translated">`c.capacity()`</target>
        <context-group name="" purpose="location">
          <context context-type="sourcefile">51</context>
        </context-group>
        <note from="developer">type: table cell</note>
      </trans-unit>
      <trans-unit xml:space="preserve" approved="no" id="aef1d479013b8cf1">
        <source>Returns the maximum sum of the sizes of the input sequence and output sequence that the dynamic buffer can hold without requiring reallocation.</source>
        <target state="translated">返回动态缓冲区在无需重新分配内存的情况下，所能容纳的输入序列和输出序列大小之和的最大值。</target>
        <context-group name="" purpose="location">
          <context context-type="sourcefile">51</context>
        </context-group>
        <note from="developer">type: table cell</note>
      </trans-unit>
      <trans-unit xml:space="preserve" approved="no" id="9e1bb880b13c10ac">
        <source>`c.data()`</source>
        <target state="translated">`c.data()`</target>
        <context-group name="" purpose="location">
          <context context-type="sourcefile">51</context>
        </context-group>
        <note from="developer">type: table cell</note>
      </trans-unit>
      <trans-unit xml:space="preserve" approved="no" id="df67923fd1d3b39e">
        <source>Returns a constant buffer sequence u that represents the memory associated with the input sequence, and where `buffer_size(u) == size()`.</source>
        <target state="translated">返回一个常量缓冲区序列 `u`，该序列表示与输入序列关联的内存，且满足 `buffer_size(u) == size()`。</target>
        <context-group name="" purpose="location">
          <context context-type="sourcefile">51</context>
        </context-group>
        <note from="developer">type: table cell</note>
      </trans-unit>
      <trans-unit xml:space="preserve" approved="no" id="06a9343e50dc9330">
        <source>`a.prepare(n)`</source>
        <target state="translated">`a.prepare(n)`</target>
        <context-group name="" purpose="location">
          <context context-type="sourcefile">51</context>
        </context-group>
        <note from="developer">type: table cell</note>
      </trans-unit>
      <trans-unit xml:space="preserve" approved="no" id="499e31f9870e7111">
        <source>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.

Throws: `length_error` if `size() + n` exceeds `max_size()`.</source>
        <target state="translated">返回一个表示输出序列的可变缓冲区序列 `u`，且满足 `buffer_size(u) == n`。动态缓冲区会根据需要重新分配内存。此前通过 `data()` 或 `prepare()` 获取的所有常量或可变缓冲区序列均会失效。

抛出异常：如果 `size() + n` 超过 `max_size()`，则抛出 `length_error`。</target>
        <context-group name="" purpose="location">
          <context context-type="sourcefile">51</context>
        </context-group>
        <note from="developer">type: table cell</note>
      </trans-unit>
      <trans-unit xml:space="preserve" approved="no" id="f79bb38035fa7347">
        <source>`a.commit(n)`</source>
        <target state="translated">`a.commit(n)`</target>
        <context-group name="" purpose="location">
          <context context-type="sourcefile">51</context>
        </context-group>
        <note from="developer">type: table cell</note>
      </trans-unit>
      <trans-unit xml:space="preserve" approved="no" id="c29b51e03020f690">
        <source>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.</source>
        <target state="translated">将输出序列开头的 `n` 个字节追加到输入序列的末尾。输出序列的剩余部分将被丢弃。如果 `n` 大于输出序列的大小，则将整个输出序列追加到输入序列中。此前通过 `data()` 或 `prepare()` 获取的所有常量或可变缓冲区序列均会失效。</target>
        <context-group name="" purpose="location">
          <context context-type="sourcefile">51</context>
        </context-group>
        <note from="developer">type: table cell</note>
      </trans-unit>
      <trans-unit xml:space="preserve" approved="no" id="386c1a6b09320909">
        <source>`a.consume(n)`</source>
        <target state="translated">`a.consume(n)`</target>
        <context-group name="" purpose="location">
          <context context-type="sourcefile">51</context>
        </context-group>
        <note from="developer">type: table cell</note>
      </trans-unit>
      <trans-unit xml:space="preserve" approved="no" id="76e4d8e36d4c7235">
        <source>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.</source>
        <target state="translated">从输入序列的开头移除 `n` 个字节。如果 `n` 大于输入序列的大小，则移除整个输入序列。此前通过 `data()` 或 `prepare()` 获取的所有常量或可变缓冲区序列均会失效。</target>
        <context-group name="" purpose="location">
          <context context-type="sourcefile">51</context>
        </context-group>
        <note from="developer">type: table cell</note>
      </trans-unit>
      <trans-unit xml:space="preserve" approved="no" id="fa69553690b47eb3">
        <source>Models</source>
        <target state="translated">模型</target>
        <context-group name="" purpose="location">
          <context context-type="sourcefile">125</context>
        </context-group>
        <note from="developer">type: heading</note>
      </trans-unit>
      <trans-unit xml:space="preserve" approved="no" id="0f8f3a496e88ddd1">
        <source>* [link beast.ref.boost__beast__basic_flat_buffer `basic_flat_buffer`]
* [link beast.ref.boost__beast__basic_multi_buffer `basic_multi_buffer`]
* [link beast.ref.boost__beast__flat_buffer `flat_buffer`]
* [link beast.ref.boost__beast__flat_static_buffer `flat_static_buffer`]
* [link beast.ref.boost__beast__flat_static_buffer_base `flat_static_buffer_base`]
* [link beast.ref.boost__beast__static_buffer `static_buffer`]
* [link beast.ref.boost__beast__static_buffer_base `static_buffer_base`]
* [link beast.ref.boost__beast__multi_buffer `multi_buffer`]</source>
        <target state="translated">* [link beast.ref.boost__beast__basic_flat_buffer `basic_flat_buffer`]
* [link beast.ref.boost__beast__basic_multi_buffer `basic_multi_buffer`]
* [link beast.ref.boost__beast__flat_buffer `flat_buffer`]
* [link beast.ref.boost__beast__flat_static_buffer `flat_static_buffer`]
* [link beast.ref.boost__beast__flat_static_buffer_base `flat_static_buffer_base`]
* [link beast.ref.boost__beast__static_buffer `static_buffer`]
* [link beast.ref.boost__beast__static_buffer_base `static_buffer_base`]
* [link beast.ref.boost__beast__multi_buffer `multi_buffer`]</target>
        <context-group name="" purpose="location">
          <context context-type="sourcefile">127</context>
        </context-group>
        <note from="developer">type: list</note>
      </trans-unit>
    </body>
  </file>
</xliff>
