Skip to main content
arrayBuffer - stream/consumers - Node documentation
function arrayBuffer

Usage in Deno

import { arrayBuffer } from "node:stream/consumers";
arrayBuffer(stream:
ReadableStream
| Readable
| AsyncIterable<any>
): Promise<ArrayBuffer>

Parameters

stream:
ReadableStream
| Readable
| AsyncIterable<any>

Return Type

Promise<ArrayBuffer>
Back to top