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

#. type: section title
#: 12
#, fuzzy
msgid "Streams"
msgstr "Streams"

#. type: paragraph
#: 14
#, fuzzy
msgid ""
"A __Stream__ is a communication channel where data is reliably transferred "
"as an ordered sequence of bytes. Streams are either synchronous or "
"asynchronous, and may allow reading, writing, or both. Note that a "
"particular type may model more than one concept. For example, the networking "
"types  __socket__ and __ssl_stream__ support both __SyncStream__ and "
"__AsyncStream__. All stream algorithms in Beast are declared as template "
"functions using these concepts:"
msgstr ""
"A __Stream__ is a communication channel where data is reliably transferred "
"as an ordered sequence of bytes. Streams are either synchronous or "
"asynchronous, and may allow reading, writing, or both. Note that a "
"particular type may model more than one concept. For example, the networking "
"types  __socket__ and __ssl_stream__ support both __SyncStream__ and "
"__AsyncStream__. All stream algorithms in Beast are declared as template "
"functions using these concepts:"

#. type: table title
#: 21
#, fuzzy
msgid "Stream Concepts"
msgstr "Stream Concepts"

#. type: table cell
#: 21
#, fuzzy
msgid "Concept"
msgstr "Concept"

#. type: table cell
#: 21
#, fuzzy
msgctxt "21"
msgid "Description"
msgstr "Description"

#. type: table cell
#: 21
#, fuzzy
msgid "__SyncReadStream__"
msgstr "__SyncReadStream__"

#. type: table cell
#: 21
#, fuzzy
msgid "Supports buffer-oriented blocking reads."
msgstr "Supports buffer-oriented blocking reads."

#. type: table cell
#: 21
#, fuzzy
msgid "__SyncWriteStream__"
msgstr "__SyncWriteStream__"

#. type: table cell
#: 21
#, fuzzy
msgid "Supports buffer-oriented blocking writes."
msgstr "Supports buffer-oriented blocking writes."

#. type: table cell
#: 21
#, fuzzy
msgid "__SyncStream__"
msgstr "__SyncStream__"

#. type: table cell
#: 21
#, fuzzy
msgid "A stream supporting buffer-oriented blocking reads and writes."
msgstr "A stream supporting buffer-oriented blocking reads and writes."

#. type: table cell
#: 21
#, fuzzy
msgid "__AsyncReadStream__"
msgstr "__AsyncReadStream__"

#. type: table cell
#: 21
#, fuzzy
msgid "Supports buffer-oriented asynchronous reads."
msgstr "Supports buffer-oriented asynchronous reads."

#. type: table cell
#: 21
#, fuzzy
msgid "__AsyncWriteStream__"
msgstr "__AsyncWriteStream__"

#. type: table cell
#: 21
#, fuzzy
msgid "Supports buffer-oriented asynchronous writes."
msgstr "Supports buffer-oriented asynchronous writes."

#. type: table cell
#: 21
#, fuzzy
msgid "__AsyncStream__"
msgstr "__AsyncStream__"

#. type: table cell
#: 21
#, fuzzy
msgid "A stream supporting buffer-oriented asynchronous reads and writes."
msgstr "A stream supporting buffer-oriented asynchronous reads and writes."

#. type: paragraph
#: 56
#, fuzzy
msgid ""
"These template metafunctions check whether a given type meets the "
"requirements for the various stream concepts, and some additional useful "
"utilities. The library uses these type checks internally and also provides "
"them as public interfaces so users may use the same techniques to augment "
"their own code. The use of these type checks helps provide more concise "
"errors during compilation:"
msgstr ""
"These template metafunctions check whether a given type meets the "
"requirements for the various stream concepts, and some additional useful "
"utilities. The library uses these type checks internally and also provides "
"them as public interfaces so users may use the same techniques to augment "
"their own code. The use of these type checks helps provide more concise "
"errors during compilation:"

#. type: table title
#: 63
#, fuzzy
msgid "Type Traits and Metafunctions"
msgstr "Type Traits and Metafunctions"

#. type: table cell
#: 63
#, fuzzy
msgid "Name"
msgstr "Name"

#. type: table cell
#: 63
#, fuzzy
msgctxt "63"
msgid "Description"
msgstr "Description"

#. type: table cell
#: 63
#, fuzzy
msgid "[link beast.ref.boost__beast__executor_type `executor_type`]"
msgstr "[link beast.ref.boost__beast__executor_type `executor_type`]"

#. type: table cell
#: 63
#, fuzzy
msgid "An alias for the type of object returned by `get_executor`."
msgstr "An alias for the type of object returned by `get_executor`."

#. type: table cell
#: 63
#, fuzzy
msgid "[link beast.ref.boost__beast__has_get_executor `has_get_executor`]"
msgstr "[link beast.ref.boost__beast__has_get_executor `has_get_executor`]"

#. type: table cell
#: 63
#, fuzzy
msgid "Determine if the `get_executor` member function is present."
msgstr "Determine if the `get_executor` member function is present."

#. type: table cell
#: 63
#, fuzzy
msgid ""
"[link beast.ref.boost__beast__is_async_read_stream `is_async_read_stream`]"
msgstr ""
"[link beast.ref.boost__beast__is_async_read_stream `is_async_read_stream`]"

#. type: table cell
#: 63
#, fuzzy
msgid "Determine if a type meets the requirements of __AsyncReadStream__."
msgstr "Determine if a type meets the requirements of __AsyncReadStream__."

#. type: table cell
#: 63
#, fuzzy
msgid "[link beast.ref.boost__beast__is_async_stream `is_async_stream`]"
msgstr "[link beast.ref.boost__beast__is_async_stream `is_async_stream`]"

#. type: table cell
#: 63
#, fuzzy
msgid ""
"Determine if a type meets the requirements of both __AsyncReadStream__ and "
"__AsyncWriteStream__."
msgstr ""
"Determine if a type meets the requirements of both __AsyncReadStream__ and "
"__AsyncWriteStream__."

#. type: table cell
#: 63
#, fuzzy
msgid ""
"[link beast.ref.boost__beast__is_async_write_stream `is_async_write_stream`]"
msgstr ""
"[link beast.ref.boost__beast__is_async_write_stream `is_async_write_stream`]"

#. type: table cell
#: 63
#, fuzzy
msgid "Determine if a type meets the requirements of __AsyncWriteStream__."
msgstr "Determine if a type meets the requirements of __AsyncWriteStream__."

#. type: table cell
#: 63
#, fuzzy
msgid ""
"[link beast.ref.boost__beast__is_sync_read_stream `is_sync_read_stream`]"
msgstr ""
"[link beast.ref.boost__beast__is_sync_read_stream `is_sync_read_stream`]"

#. type: table cell
#: 63
#, fuzzy
msgid "Determine if a type meets the requirements of __SyncReadStream__."
msgstr "Determine if a type meets the requirements of __SyncReadStream__."

#. type: table cell
#: 63
#, fuzzy
msgid "[link beast.ref.boost__beast__is_sync_stream `is_sync_stream`]"
msgstr "[link beast.ref.boost__beast__is_sync_stream `is_sync_stream`]"

#. type: table cell
#: 63
#, fuzzy
msgid ""
"Determine if a type meets the requirements of both __SyncReadStream__ and "
"__SyncWriteStream__."
msgstr ""
"Determine if a type meets the requirements of both __SyncReadStream__ and "
"__SyncWriteStream__."

#. type: table cell
#: 63
#, fuzzy
msgid ""
"[link beast.ref.boost__beast__is_sync_write_stream `is_sync_write_stream`]"
msgstr ""
"[link beast.ref.boost__beast__is_sync_write_stream `is_sync_write_stream`]"

#. type: table cell
#: 63
#, fuzzy
msgid "Determine if a type meets the requirements of __SyncWriteStream__."
msgstr "Determine if a type meets the requirements of __SyncWriteStream__."

#. type: paragraph
#: 109
#, fuzzy
msgid ""
"Using the type checks with `static_assert` on function or class template "
"types will provide users with helpful error messages and prevent undefined "
"behaviors. This example shows how a template function which writes to a "
"synchronous stream may check its argument:"
msgstr ""
"Using the type checks with `static_assert` on function or class template "
"types will provide users with helpful error messages and prevent undefined "
"behaviors. This example shows how a template function which writes to a "
"synchronous stream may check its argument:"
