类:stream.Transform
¥Class: stream.Transform
转换流是 Duplex 流,其中输出以某种方式与输入相关。与所有 Duplex 流一样,Transform 流同时实现 Readable 和 Writable 接口。
¥Transform streams are Duplex streams where the output is in some way
related to the input. Like all Duplex streams, Transform streams
implement both the Readable and Writable interfaces.
Transform 流的示例包括:
¥Examples of Transform streams include: