We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
nodejs
Learn more about funding links in repositories.
Report abuse
1 parent 578e731 commit 3789c28Copy full SHA for 3789c28
doc/api/stream.md
@@ -576,7 +576,7 @@ changes:
576
not operating in object mode, `chunk` must be a string, `Buffer` or
577
`Uint8Array`. For object mode streams, `chunk` may be any JavaScript value
578
other than `null`.
579
-* `encoding` {string} The encoding, if `chunk` is a string
+* `encoding` {string} The encoding, if `chunk` is a string. **Default:** `'utf8'`
580
* `callback` {Function} Callback for when this chunk of data is flushed
581
* Returns: {boolean} `false` if the stream wishes for the calling code to
582
wait for the `'drain'` event to be emitted before continuing to write
0 commit comments