Node.js 流互操作性


【Node.js streams interoperability】

Node.js 流可以通过 stream.Readablestream.Writablestream.Duplex 对象上的 toWebfromWeb 方法相互转换为网页流,反之亦然。

【Node.js streams can be converted to web streams and vice versa via the toWeb and fromWeb methods present on stream.Readable, stream.Writable and stream.Duplex objects.】

有关更多详细信息,请参阅相关文档:

【For more details refer to the relevant documentation:】