ReadableByteStreamController
interface
interface ReadableByteStreamControllervariable
var ReadableByteStreamController: { … }The constructor object for ReadableByteStreamController.
Instances are passed to a byte-oriented ReadableStream's
underlying source callbacks rather than constructed directly, so calling the
constructor throws.
Constructors
constructor
new ReadableByteStreamController(): neverProperties
byobRequest
readonly byobRequest: ReadableStreamBYOBRequest | nulldesiredSize
readonly desiredSize: number | nullprototype
readonly prototype: ReadableByteStreamControllerMethods
close
close(): voidenqueue
enqueue(chunk: ArrayBufferView): voiderror
error(e?: any): void