msgid ""
msgstr ""
"Project-Id-Version: Chinese (Simplified Han script) (Boost Beast Translation "
"(zh_Hans))\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2026-07-26 07:59+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-6-files-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
#: 10
msgid "Files"
msgstr "文件"

#. type: paragraph
#: 12
msgid ""
"Often when implementing network algorithms such as servers, it is necessary "
"to interact with files on the system. Beast defines the __File__ concept and "
"several models to facilitate cross-platform interaction with the underlying "
"filesystem:"
msgstr ""
"在实现服务器等网络算法时，经常需要与系统中的文件进行交互。Beast 定义了 "
"__File__ 概念以及多种模型，用于实现与底层文件系统的跨平台交互："

#. type: table title
#: 17
msgid "File Types"
msgstr "文件类型"

#. type: table cell
#: 17
msgid "Name"
msgstr "名称"

#. type: table cell
#: 17
msgid "Description"
msgstr "描述"

#. type: table cell
#: 17
msgid "[link beast.ref.boost__beast__file `file`]"
msgstr "[link beast.ref.boost__beast__file `file`]"

#. type: table cell
#: 17
msgid ""
"`file` is a type alias to one of the following implementations, depending on "
"what is available on the target platform."
msgstr ""
"`file` 是一个类型别名，其具体类型取决于目标平台所支持的实现，可能为以下某种实"
"现之一："

#. type: table cell
#: 17
msgid "[link beast.ref.boost__beast__file_stdio `file_stdio`]"
msgstr "[link beast.ref.boost__beast__file_stdio `file_stdio`]"

#. type: table cell
#: 17
msgid ""
"This implementation of __File__ uses the C++ standard library facilities "
"obtained by including `<cstdio>`."
msgstr ""
"该 __File__ 实现使用 C++ 标准库的功能，这些功能通过包含 `<cstdio>` 头文件获得"
"。"

#. type: table cell
#: 17
msgid "[link beast.ref.boost__beast__file_win32 `file_win32`]"
msgstr "[link beast.ref.boost__beast__file_win32 `file_win32`]"

#. type: table cell
#: 17
msgid ""
"This implements a __File__ for the Win32 API. It provides low level access "
"to the native file handle when necessary."
msgstr ""
"该实现为 Win32 API 提供 __File__ 接口。必要时，它可以提供对原生文件句柄的低级"
"别访问。"

#. type: table cell
#: 17
msgid "[link beast.ref.boost__beast__file_posix `file_posix`]"
msgstr "[link beast.ref.boost__beast__file_posix `file_posix`]"

#. type: table cell
#: 17
msgid ""
"For POSIX systems, this class provides a suitable implementation of __File__ "
"which wraps the native file descriptor and provides it if necessary."
msgstr ""
"对于 POSIX 系统，该类提供合适的 __File__ 实现，它封装原生文件描述符，并在必要"
"时提供该描述符。"
