Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit abbfed8

Browse filesBrowse files
Trotttargos
authored andcommitted
doc: add missing word in readable.read() text
This adds a missing _is_ in the readable.read() text and makes small style adjustments. PR-URL: #41524 Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Darshan Sen <raisinten@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
1 parent 09f2fd3 commit abbfed8
Copy full SHA for abbfed8

File tree

Expand file treeCollapse file tree

1 file changed

+3
-3
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+3
-3
lines changed
Open diff view settings
Collapse file

‎doc/api/stream.md‎

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 numberDiff line numberDiff line change
@@ -1213,9 +1213,9 @@ added: v0.9.4
12131213
* `size` {number} Optional argument to specify how much data to read.
12141214
* Returns: {string|Buffer|null|any}
12151215

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
12191219
specified using the `readable.setEncoding()` method or the stream is operating
12201220
in object mode.
12211221

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.