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

x/oak/body.ts>Body#arrayBuffer

A middleware framework for handling HTTP with Deno, Node, Bun and Cloudflare Workers 🐿️ 🦕
Very Popular
Latest
method Body.prototype.arrayBuffer
import { Body } from "https://deno.land/x/oak@v17.1.3/body.ts";

Reads a body to the end and resolves with the value as an ArrayBuffer

Returns

Promise<ArrayBuffer>