不推荐使用 readable.push('')

向一个非对象模式的流推入一个零字节的字符串、 BufferUint8Array 会产生副作用。 因为调用了 readable.push(),该调用会结束读取进程。 然而,因为参数是一个空字符串,没有数据被添加到可读缓冲, 所以也就没有数据可供用户消费。

Use of readable.push('') is not recommended.

Pushing a zero-byte string, Buffer or Uint8Array to a stream that is not in object mode has an interesting side effect. Because it is a call to readable.push(), the call will end the reading process. However, because the argument is an empty string, no data is added to the readable buffer so there is nothing for a user to consume.