类:ReadableStreamBYOBRequest
【Class: ReadableStreamBYOBRequest】
在字节导向的流中使用 ReadableByteStreamController 时,以及在使用 ReadableStreamBYOBReader 时,readableByteStreamController.byobRequest 属性提供对 ReadableStreamBYOBRequest 实例的访问,该实例表示当前的读取请求。该对象用于访问为读取请求提供的 ArrayBuffer/TypedArray,并提供用于表示数据已提供的方法。
【When using ReadableByteStreamController in byte-oriented
streams, and when using the ReadableStreamBYOBReader,
the readableByteStreamController.byobRequest property
provides access to a ReadableStreamBYOBRequest instance
that represents the current read request. The object
is used to gain access to the ArrayBuffer/TypedArray
that has been provided for the read request to fill,
and provides methods for signaling that the data has
been provided.】