File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -895,8 +895,8 @@ added: v0.9.4
895895* ` destination ` {stream.Writable} The destination for writing data
896896* ` options ` {Object} Pipe options
897897 * ` end ` {boolean} End the writer when the reader ends. ** Default:** ` true ` .
898- * Returns: {stream.Writable} making it possible to set up chains of piped
899- streams
898+ * Returns: {stream.Writable} The * destination * , allowing for a chain of pipes if
899+ it is a [ ` Duplex ` ] [ ] or a [ ` Transform ` ] [ ] stream
900900
901901The ` readable.pipe() ` method attaches a [ ` Writable ` ] [ ] stream to the ` readable ` ,
902902causing it to switch automatically into flowing mode and push all of its data
Original file line number Diff line number Diff line change @@ -397,6 +397,9 @@ added: v0.5.8
397397Not exported by the ` zlib ` module. It is documented here because it is the base
398398class of the compressor/decompressor classes.
399399
400+ This class inherits from [ ` stream.Transform ` ] [ ] , allowing ` zlib ` objects to be
401+ used in pipes and similar stream operations.
402+
400403### zlib.bytesRead
401404<!-- YAML
402405added: v8.1.0
@@ -840,6 +843,7 @@ Decompress a chunk of data with [`Unzip`][].
840843[ `InflateRaw` ] : #zlib_class_zlib_inflateraw
841844[ `TypedArray` ] : https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
842845[ `Unzip` ] : #zlib_class_zlib_unzip
846+ [ `stream.Transform` ] : stream.html#stream_class_stream_transform
843847[ `zlib.bytesWritten` ] : #zlib_zlib_byteswritten
844848[ Memory Usage Tuning ] : #zlib_memory_usage_tuning
845849[ pool size ] : cli.html#cli_uv_threadpool_size_size
You can’t perform that action at this time.
0 commit comments