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

x/dtils/deps.ts>streamUtils.toArrayBuffer

The best unofficial library of utilities for Deno applications
Latest
function streamUtils.toArrayBuffer
import { streamUtils } from "https://deno.land/x/dtils@2.6.1/deps.ts";
const { toArrayBuffer } = streamUtils;

Parameters

readableStream: ReadableStream<Uint8Array>

Returns

Promise<ArrayBuffer>