Skip to main content
ReadableStreamBYOBRequest - node__stream--web.d.ts - Node documentation
interface ReadableStreamBYOBRequest

Usage in Deno

```typescript import { type ReadableStreamBYOBRequest } from "node:node__stream--web.d.ts"; ```
[MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamBYOBRequest)

Properties

readonly
view: ArrayBufferView | null
[MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamBYOBRequest/view)

Methods

respond(bytesWritten: number): void
[MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamBYOBRequest/respond)
respondWithNewView(view: ArrayBufferView): void
[MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamBYOBRequest/respondWithNewView)
variable ReadableStreamBYOBRequest
`ReadableStreamBYOBRequest` class is a global reference for `import { ReadableStreamBYOBRequest } from 'node:stream/web'`. https://nodejs.org/api/globals.html#class-readablestreambyobrequest

Type

globalThis extends { onmessage: any; ReadableStreamBYOBRequest: infer T; } ? T : stream/web