doc: fix typo in stream.md

PR-URL: https://github.com/nodejs/node/pull/17357
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
Reviewed-By: Jon Moss <me@jonathanmoss.me>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
This commit is contained in:
Matthew Leon authored and Gibson Fahnestock committed 2017-12-20 01:59:31 +00:00
1 parent c3fdef7469
commit 2ceecce725
1 file changed
+2 -2
+2 -2
View File
@@ -2213,7 +2213,7 @@ object mode has an interesting side effect. Because it *is* a call to
However, because the argument is an empty string, no data is added to the
readable buffer so there is nothing for a user to consume.
### `highWaterMark` discrepency after calling `readable.setEncoding()`
### `highWaterMark` discrepancy after calling `readable.setEncoding()`
The use of `readable.setEncoding()` will change the behavior of how the
`highWaterMark` operates in non-object mode.
@@ -2264,7 +2264,7 @@ contain multi-byte characters.
[fs write streams]: fs.html#fs_class_fs_writestream
[http-incoming-message]: http.html#http_class_http_incomingmessage
[zlib]: zlib.html
[hwm-gotcha]: #stream_highwatermark_discrepency_after_calling_readable_setencoding
[hwm-gotcha]: #stream_highwatermark_discrepancy_after_calling_readable_setencoding
[stream-_flush]: #stream_transform_flush_callback
[stream-_read]: #stream_readable_read_size_1
[stream-_transform]: #stream_transform_transform_chunk_encoding_callback