diff options
author | ZYSzys <zyszys98@gmail.com> | 2019-07-05 15:54:34 +0800 |
---|---|---|
committer | Rich Trott <rtrott@gmail.com> | 2019-07-14 22:27:33 -0700 |
commit | 6c430b48b9dff238995aeffe3626bd8b156f563d (patch) | |
tree | c49eeb324db47f42257ef2cad0d94dfb309e8f22 /doc/api/stream.md | |
parent | 461bf36d701f3f7c669e2d916d5a5bc17fc447bf (diff) | |
download | android-node-v8-6c430b48b9dff238995aeffe3626bd8b156f563d.tar.gz android-node-v8-6c430b48b9dff238995aeffe3626bd8b156f563d.tar.bz2 android-node-v8-6c430b48b9dff238995aeffe3626bd8b156f563d.zip |
stream: use readableEncoding public api for child_process
PR-URL: https://github.com/nodejs/node/pull/28548
Refs: https://github.com/nodejs/node/issues/445
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
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 |