W3cubDocs

/Deno

ReadableByteStreamController

interface ReadableByteStreamController {
readonly byobRequest: ReadableStreamBYOBRequest | null;
readonly desiredSize: number | null;
close(): void;
enqueue(chunk: ArrayBufferView): void;
error(error?: any): void;
}
var ReadableByteStreamController: { };

Properties

readonly byobRequest: ReadableStreamBYOBRequest | null
readonly desiredSize: number | null

Methods

close(): void
enqueue(chunk: ArrayBufferView): void
error(error?: any): void