We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eb01214 commit 76fe2a9Copy full SHA for 76fe2a9
doc/api/stream.md
@@ -590,7 +590,7 @@ changes:
590
not operating in object mode, `chunk` must be a string, `Buffer` or
591
`Uint8Array`. For object mode streams, `chunk` may be any JavaScript value
592
other than `null`.
593
-* `encoding` {string} The encoding, if `chunk` is a string
+* `encoding` {string} The encoding, if `chunk` is a string. **Default:** `'utf8'`
594
* `callback` {Function} Callback for when this chunk of data is flushed
595
* Returns: {boolean} `false` if the stream wishes for the calling code to
596
wait for the `'drain'` event to be emitted before continuing to write
0 commit comments