We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 54f1e0a commit 3e96ac3Copy full SHA for 3e96ac3
1 file changed
doc/api/stream.md
@@ -317,7 +317,9 @@ buffer.
317
The amount of data potentially buffered depends on the `highWaterMark` option
318
passed into the stream's constructor. For normal streams, the `highWaterMark`
319
option specifies a [total number of bytes][hwm-gotcha]. For streams operating
320
-in object mode, the `highWaterMark` specifies a total number of objects.
+in object mode, the `highWaterMark` specifies a total number of objects. For
321
+streams operating on (but not decoding) strings, the `highWaterMark` specifies
322
+a total number of UTF-16 code units.
323
324
Data is buffered in `Readable` streams when the implementation calls
325
[`stream.push(chunk)`][stream-push]. If the consumer of the Stream does not
0 commit comments