GeezerVison is showing github.com — doc: add missing word in readable.read() text · nodejs/node@abbfed8
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: doc/api/stream.md +3-3Lines changed: 3 additions & 3 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -1213,9 +1213,9 @@ added: v0.9.4 |
1213 | 1213 | * `size` {number} Optional argument to specify how much data to read. |
1214 | 1214 | * Returns: {string|Buffer|null|any} |
1215 | 1215 |
|
1216 | | -The `readable.read()` method pulls some data out of the internal buffer and |
1217 | | -returns it. If no data available to be read, `null` is returned. By default, |
1218 | | -the data will be returned as a `Buffer` object unless an encoding has been |
| 1216 | +The `readable.read()` method reads data out of the internal buffer and |
| 1217 | +returns it. If no data is available to be read, `null` is returned. By default, |
| 1218 | +the data is returned as a `Buffer` object unless an encoding has been |
1219 | 1219 | specified using the `readable.setEncoding()` method or the stream is operating |
1220 | 1220 | in object mode. |
1221 | 1221 |
|
|