File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -317,7 +317,9 @@ buffer.
317
317
The amount of data potentially buffered depends on the ` highWaterMark ` option
318
318
passed into the stream's constructor. For normal streams, the ` highWaterMark `
319
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.
320
+ 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.
321
323
322
324
Data is buffered in ` Readable ` streams when the implementation calls
323
325
[ ` stream.push(chunk) ` ] [ stream-push ] . If the consumer of the Stream does not
You can’t perform that action at this time.
0 commit comments