<?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="10">
        <source>Serializer Stream Operations</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="320672e3cc25561a">
        <source>Non-trivial algorithms need to do more than send entire messages at once, such as:</source>
        <target state="translated">非平凡算法需要执行的操作不仅限于一次性发送完整消息，该算法需要做更多的事，例如：</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="84461daeedb55a47">
        <source>* Send the header first, and the body later.</source>
        <target state="translated">* 先发送头部，再发送消息体。</target>
        <context-group name="" purpose="location">
          <context context-type="sourcefile">15</context>
        </context-group>
        <note from="developer">type: list</note>
      </trans-unit>
      <trans-unit xml:space="preserve" approved="no" id="e9f1c4729b07a32f">
        <source>* Send a message incrementally: bounded work in each I/O cycle.</source>
        <target state="translated">* 逐步发送消息：每个 I/O 周期内执行有限的工作量。</target>
        <context-group name="" purpose="location">
          <context context-type="sourcefile">17</context>
        </context-group>
        <note from="developer">type: list</note>
      </trans-unit>
      <trans-unit xml:space="preserve" approved="no" id="e848e745281e4247">
        <source>* Use a series of caller-provided buffers to represent the body.</source>
        <target state="translated">* 使用调用方提供的一系列缓冲区来表示消息体。</target>
        <context-group name="" purpose="location">
          <context context-type="sourcefile">19</context>
        </context-group>
        <note from="developer">type: list</note>
      </trans-unit>
      <trans-unit xml:space="preserve" approved="no" id="63efa2b0279314fd">
        <source>These tasks may be performed by using the serializer stream interfaces. To use these interfaces, first construct an appropriate serializer from the message to be sent:</source>
        <target state="translated">这些任务可通过使用序列化器流接口来完成。使用这些接口时，首先从待发送的消息构造相应的序列化器：</target>
        <context-group name="" purpose="location">
          <context context-type="sourcefile">21</context>
        </context-group>
        <note from="developer">type: paragraph</note>
      </trans-unit>
      <trans-unit xml:space="preserve" approved="no" id="5d8eb0b66c697817">
        <source>Serializer</source>
        <target state="translated">序列化器</target>
        <context-group name="" purpose="location">
          <context context-type="sourcefile">25</context>
        </context-group>
        <note from="developer">type: table title</note>
      </trans-unit>
      <trans-unit xml:space="preserve" approved="no" id="25">
        <source>Name</source>
        <target state="translated">名称</target>
        <context-group name="" purpose="location">
          <context context-type="sourcefile">25</context>
        </context-group>
        <note from="developer">type: table cell</note>
      </trans-unit>
      <trans-unit xml:space="preserve" approved="no" id="25">
        <source>Description</source>
        <target state="translated">描述</target>
        <context-group name="" purpose="location">
          <context context-type="sourcefile">25</context>
        </context-group>
        <note from="developer">type: table cell</note>
      </trans-unit>
      <trans-unit xml:space="preserve" approved="no" id="5109c7350e92fc33">
        <source>__serializer__</source>
        <target state="translated">__序列化器__</target>
        <context-group name="" purpose="location">
          <context context-type="sourcefile">25</context>
        </context-group>
        <note from="developer">type: table cell</note>
      </trans-unit>
      <trans-unit xml:space="preserve" approved="no" id="83e57f038255de7b">
        <source>/// Provides buffer oriented HTTP message serialization functionality.
template&lt;
bool isRequest,
class Body,
class Fields = fields
&gt;
class serializer;</source>
        <target state="translated">/// 提供面向缓冲区的 HTTP 消息序列化功能。
template&lt;
bool isRequest,
class Body,
class Fields = fields
&gt;
class serializer;</target>
        <context-group name="" purpose="location">
          <context context-type="sourcefile">25</context>
        </context-group>
        <note from="developer">type: table code</note>
      </trans-unit>
      <trans-unit xml:space="preserve" approved="no" id="78f1f84d725c6760">
        <source>[link beast.ref.boost__beast__http__request_serializer `request_serializer`]</source>
        <target state="translated">[link beast.ref.boost__beast__http__request_serializer `request_serializer`]</target>
        <context-group name="" purpose="location">
          <context context-type="sourcefile">25</context>
        </context-group>
        <note from="developer">type: table cell</note>
      </trans-unit>
      <trans-unit xml:space="preserve" approved="no" id="584a01dd7ab81aff">
        <source>/// A serializer for HTTP/1 requests
template&lt;
class Body,
class Fields = fields
&gt;
using request_serializer = serializer&lt;true, Body, Fields&gt;;</source>
        <target state="translated">/// HTTP/1 请求序列化器
template&lt;
class Body,
class Fields = fields
&gt;
using request_serializer = serializer&lt;true, Body, Fields&gt;;</target>
        <context-group name="" purpose="location">
          <context context-type="sourcefile">25</context>
        </context-group>
        <note from="developer">type: table code</note>
      </trans-unit>
      <trans-unit xml:space="preserve" approved="no" id="657f9c493d7c6762">
        <source>[link beast.ref.boost__beast__http__response_serializer `response_serializer`]</source>
        <target state="translated">[link beast.ref.boost__beast__http__response_serializer `response_serializer`]</target>
        <context-group name="" purpose="location">
          <context context-type="sourcefile">25</context>
        </context-group>
        <note from="developer">type: table cell</note>
      </trans-unit>
      <trans-unit xml:space="preserve" approved="no" id="9952dcd01216ffe3">
        <source>/// A serializer for HTTP/1 responses
template&lt;
class Body,
class Fields = fields
&gt;
using response_serializer = serializer&lt;false, Body, Fields&gt;;</source>
        <target state="translated">/// HTTP/1 响应序列化器
template&lt;
class Body,
class Fields = fields
&gt;
using response_serializer = serializer&lt;false, Body, Fields&gt;;</target>
        <context-group name="" purpose="location">
          <context context-type="sourcefile">25</context>
        </context-group>
        <note from="developer">type: table code</note>
      </trans-unit>
      <trans-unit xml:space="preserve" approved="no" id="1271a1f03d1f4628">
        <source>The choices for template types must match the message passed on construction. This code creates an HTTP response and the corresponding serializer:</source>
        <target state="translated">模板类型的选择必须与构造时传入的消息相匹配。以下代码用于创建一个 HTTP 响应及其对应的序列化器：</target>
        <context-group name="" purpose="location">
          <context context-type="sourcefile">66</context>
        </context-group>
        <note from="developer">type: paragraph</note>
      </trans-unit>
      <trans-unit xml:space="preserve" approved="no" id="4b3b2dd6cbd6c3e4">
        <source>The stream operations which work on serializers are:</source>
        <target state="translated">用于操作序列化器的流操作如下：</target>
        <context-group name="" purpose="location">
          <context context-type="sourcefile">71</context>
        </context-group>
        <note from="developer">type: paragraph</note>
      </trans-unit>
      <trans-unit xml:space="preserve" approved="no" id="73">
        <source>Serializer Stream Operations</source>
        <target state="translated">序列化器流操作</target>
        <context-group name="" purpose="location">
          <context context-type="sourcefile">73</context>
        </context-group>
        <note from="developer">type: table title</note>
      </trans-unit>
      <trans-unit xml:space="preserve" approved="no" id="73">
        <source>Name</source>
        <target state="translated">名称</target>
        <context-group name="" purpose="location">
          <context context-type="sourcefile">73</context>
        </context-group>
        <note from="developer">type: table cell</note>
      </trans-unit>
      <trans-unit xml:space="preserve" approved="no" id="73">
        <source>Description</source>
        <target state="translated">描述</target>
        <context-group name="" purpose="location">
          <context context-type="sourcefile">73</context>
        </context-group>
        <note from="developer">type: table cell</note>
      </trans-unit>
      <trans-unit xml:space="preserve" approved="no" id="881b8e8cbde281aa">
        <source>[link beast.ref.boost__beast__http__write.overload1 [*write]]</source>
        <target state="translated">[link beast.ref.boost__beast__http__write.overload1 [*write]]</target>
        <context-group name="" purpose="location">
          <context context-type="sourcefile">73</context>
        </context-group>
        <note from="developer">type: table cell</note>
      </trans-unit>
      <trans-unit xml:space="preserve" approved="no" id="512f65e77fd3ca65">
        <source>Send everything in a __serializer__ to a __SyncWriteStream__.</source>
        <target state="translated">将 __serializer__ 中的全部数据发送到 __SyncWriteStream__。</target>
        <context-group name="" purpose="location">
          <context context-type="sourcefile">73</context>
        </context-group>
        <note from="developer">type: table cell</note>
      </trans-unit>
      <trans-unit xml:space="preserve" approved="no" id="b869c749b4decc2b">
        <source>[link beast.ref.boost__beast__http__async_write.overload1 [*async_write]]</source>
        <target state="translated">[link beast.ref.boost__beast__http__async_write.overload1 [*async_write]]</target>
        <context-group name="" purpose="location">
          <context context-type="sourcefile">73</context>
        </context-group>
        <note from="developer">type: table cell</note>
      </trans-unit>
      <trans-unit xml:space="preserve" approved="no" id="f61b72f3f6697375">
        <source>Send everything in a __serializer__ asynchronously to an __AsyncWriteStream__.</source>
        <target state="translated">将 __serializer__ 中的全部数据异步发送到 __AsyncWriteStream__。</target>
        <context-group name="" purpose="location">
          <context context-type="sourcefile">73</context>
        </context-group>
        <note from="developer">type: table cell</note>
      </trans-unit>
      <trans-unit xml:space="preserve" approved="no" id="a78591fe96245f07">
        <source>[link beast.ref.boost__beast__http__write_header.overload1 [*write_header]]</source>
        <target state="translated">[link beast.ref.boost__beast__http__write_header.overload1 [*write_header]]</target>
        <context-group name="" purpose="location">
          <context context-type="sourcefile">73</context>
        </context-group>
        <note from="developer">type: table cell</note>
      </trans-unit>
      <trans-unit xml:space="preserve" approved="no" id="808c022fcc2bfc3f">
        <source>Send only the header from a __serializer__ to a __SyncWriteStream__.</source>
        <target state="translated">仅将 __serializer__ 中的头部发送到 __SyncWriteStream__。</target>
        <context-group name="" purpose="location">
          <context context-type="sourcefile">73</context>
        </context-group>
        <note from="developer">type: table cell</note>
      </trans-unit>
      <trans-unit xml:space="preserve" approved="no" id="06064d36581d5895">
        <source>[link beast.ref.boost__beast__http__async_write_header [*async_write_header]]</source>
        <target state="translated">[link beast.ref.boost__beast__http__async_write_header [*async_write_header]]</target>
        <context-group name="" purpose="location">
          <context context-type="sourcefile">73</context>
        </context-group>
        <note from="developer">type: table cell</note>
      </trans-unit>
      <trans-unit xml:space="preserve" approved="no" id="6b807cd18680c991">
        <source>Send only the header from a __serializer__ asynchronously to an __AsyncWriteStream__.</source>
        <target state="translated">仅将 __serializer__ 中的头部异步发送到 __AsyncWriteStream__。</target>
        <context-group name="" purpose="location">
          <context context-type="sourcefile">73</context>
        </context-group>
        <note from="developer">type: table cell</note>
      </trans-unit>
      <trans-unit xml:space="preserve" approved="no" id="63350ebaee608200">
        <source>[link beast.ref.boost__beast__http__write_some.overload1 [*write_some]]</source>
        <target state="translated">[link beast.ref.boost__beast__http__write_some.overload1 [*write_some]]</target>
        <context-group name="" purpose="location">
          <context context-type="sourcefile">73</context>
        </context-group>
        <note from="developer">type: table cell</note>
      </trans-unit>
      <trans-unit xml:space="preserve" approved="no" id="071ee4f454419e1f">
        <source>Send part of a __serializer__ to a __SyncWriteStream__.</source>
        <target state="translated">将 __serializer__ 中的部分数据发送到 __SyncWriteStream__。</target>
        <context-group name="" purpose="location">
          <context context-type="sourcefile">73</context>
        </context-group>
        <note from="developer">type: table cell</note>
      </trans-unit>
      <trans-unit xml:space="preserve" approved="no" id="c8e219b4354a46c3">
        <source>[link beast.ref.boost__beast__http__async_write_some [*async_write_some]]</source>
        <target state="translated">[link beast.ref.boost__beast__http__async_write_some [*async_write_some]]</target>
        <context-group name="" purpose="location">
          <context context-type="sourcefile">73</context>
        </context-group>
        <note from="developer">type: table cell</note>
      </trans-unit>
      <trans-unit xml:space="preserve" approved="no" id="d7f2a2212251f57e">
        <source>Send part of a __serializer__ asynchronously to an __AsyncWriteStream__.</source>
        <target state="translated">将 __serializer__ 中的部分数据异步发送到 __AsyncWriteStream__。</target>
        <context-group name="" purpose="location">
          <context context-type="sourcefile">73</context>
        </context-group>
        <note from="developer">type: table cell</note>
      </trans-unit>
      <trans-unit xml:space="preserve" approved="no" id="c1b506af1334b627">
        <source>Here is an example of using a serializer to send a message on a stream synchronously. This performs the same operation as calling `write(stream, m)`:</source>
        <target state="translated">以下示例演示如何使用序列化器在流上同步发送消息。其效果与直接调用 `write(stream, m)` 相同：</target>
        <context-group name="" purpose="location">
          <context context-type="sourcefile">107</context>
        </context-group>
        <note from="developer">type: paragraph</note>
      </trans-unit>
    </body>
  </file>
</xliff>
