Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/proc/tests/deps/streams.ts>toArrayBuffer

A better way to work with processes in Deno.
Go to Latest
function toArrayBuffer
import { toArrayBuffer } from "https://deno.land/x/proc@0.21.8/tests/deps/streams.ts";

Parameters

readableStream: ReadableStream<Uint8Array>

Returns

Promise<ArrayBuffer>