diff options
Diffstat (limited to 'doc/api/stream.md')
-rw-r--r-- | doc/api/stream.md | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/api/stream.md b/doc/api/stream.md index 16edb6d80b..c0a14c7aaa 100644 --- a/doc/api/stream.md +++ b/doc/api/stream.md @@ -1085,6 +1085,16 @@ added: v11.4.0 Is `true` if it is safe to call [`readable.read()`][stream-read]. +##### readable.readableEncoding +<!-- YAML +added: REPLACEME +--> + +* {null|string} + +Getter for the property `encoding` of a given `Readable` stream. The `encoding` +property can be set using the [`readable.setEncoding()`][] method. + ##### readable.readableHighWaterMark <!-- YAML added: v9.3.0 @@ -2655,6 +2665,7 @@ contain multi-byte characters. [`process.stdin`]: process.html#process_process_stdin [`process.stdout`]: process.html#process_process_stdout [`readable.push('')`]: #stream_readable_push +[`readable.setEncoding()`]: #stream_readable_setencoding_encoding [`stream.Readable.from()`]: #stream_stream_readable_from_iterable_options [`stream.cork()`]: #stream_writable_cork [`stream.finished()`]: #stream_stream_finished_stream_options_callback |