diff options
author | ZYSzys <zyszys98@gmail.com> | 2019-07-05 15:54:34 +0800 |
---|---|---|
committer | Michaƫl Zasso <targos@protonmail.com> | 2019-07-20 11:10:28 +0200 |
commit | 00b2200e035ace6c034b8b646024ca37733a7ac4 (patch) | |
tree | b450f80e604b79a0f15c1dfbfbd1e634207acf20 /doc | |
parent | 499969db9e13eb2d43fac9e82ea98314038968ab (diff) | |
download | android-node-v8-00b2200e035ace6c034b8b646024ca37733a7ac4.tar.gz android-node-v8-00b2200e035ace6c034b8b646024ca37733a7ac4.tar.bz2 android-node-v8-00b2200e035ace6c034b8b646024ca37733a7ac4.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')
-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 |