# 08.4 bufio包

顾名思义，`bufio`包是关于缓冲输入输出的。但是，`bufio`包在内部仍然使用`io.Reader`和`io.Writer`对象，它封装这些对象分别创建`bufio.Reader`和`bufio.Writer`对象。

下一节中，我们会看到，`bufio`包非常适合读取文本文件。


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://wskdsgcf.gitbook.io/mastering-go-zh-cn/08.0/08.4.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
