ReadableStreamBYOBRequest

interface

interface ReadableStreamBYOBRequest

variable

var ReadableStreamBYOBRequest: { … }

The constructor object for ReadableStreamBYOBRequest.

Instances are provided to a byte stream's controller rather than constructed directly, so calling the constructor throws.

Constructors

constructor

new ReadableStreamBYOBRequest(): never

Properties

view

readonly view: Uint8Array<ArrayBuffer> | null

prototype

readonly prototype: ReadableStreamBYOBRequest

Methods

respond

respond(bytesWritten: number): void

respondWithNewView

respondWithNewView(view: ArrayBufferView): void