stream.Transform 类


转换流(Transform)是一种 Duplex 流,但它的输出与输入是相关联的。 与 Duplex 流一样,Transform 流也同时实现了 ReadableWritable 接口。

Transform 流的例子包括:

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.

Examples of Transform streams include: