Skip to main content
Module

x/oak/body.ts>Body#arrayBuffer

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

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

Returns

Promise<ArrayBuffer>