> For the complete documentation index, see [llms.txt](https://wskdsgcf.gitbook.io/mastering-go-zh-cn/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wskdsgcf.gitbook.io/mastering-go-zh-cn/08.0/08.4.md).

# 08.4 bufio包

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

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