zlib.ZlibBase 类


不是由 node:zlib 模块导出的。 它记录在此处,因为它是压缩器/解压缩器类的基类。

这个类继承自 stream.Transform,允许在管道和类似的流操作中使用 node:zlib 对象。

Not exported by the node:zlib module. It is documented here because it is the base class of the compressor/decompressor classes.

This class inherits from stream.Transform, allowing node:zlib objects to be used in pipes and similar stream operations.