类:ReadableStreamDefaultReader
¥Class: ReadableStreamDefaultReader
默认情况下,不带参数调用 readableStream.getReader()
将返回 ReadableStreamDefaultReader
的实例。默认读取器将通过流传递的数据块视为不透明值,这允许 <ReadableStream> 通常使用任何 JavaScript 值。
¥By default, calling readableStream.getReader()
with no arguments
will return an instance of ReadableStreamDefaultReader
. The default
reader treats the chunks of data passed through the stream as opaque
values, which allows the <ReadableStream> to work with generally any
JavaScript value.