mirror of
https://github.com/unknwon/the-way-to-go_ZH_CN.git
synced 2025-08-12 02:16:48 +08:00
修正一个bug
This commit is contained in:
@@ -227,7 +227,7 @@ bytes 包和字符串包十分类似(参见第 4.7 节)。而且它还包含
|
||||
...
|
||||
}
|
||||
|
||||
这是一个 bytes 的定长 buffer,提供 Read 和 Write 方法,因为读写不知道长度的 bytes 最好使用 buffer。
|
||||
这是一个长度可变的 bytes 的 buffer,提供 Read 和 Write 方法,因为读写长度未知的 bytes 最好使用 buffer。
|
||||
|
||||
Buffer 可以这样定义:`var buffer bytes.Buffer`
|
||||
|
||||
|
Reference in New Issue
Block a user