import { toArrayBuffer } from "https://deno.land/x/proc@0.21.9/src/deps/streams.ts";
Converts a ReadableStream
of Uint8Array
s to an
ArrayBuffer
. Works the same asResponse.arrayBuffer
.
Parameters
readableStream: ReadableStream<Uint8Array>
import { toArrayBuffer } from "https://deno.land/x/proc@0.21.9/src/deps/streams.ts";
Converts a ReadableStream
of Uint8Array
s to an
ArrayBuffer
. Works the same asResponse.arrayBuffer
.