Content-Length: 440115 | pFad | https://bun.com/guides/binary/blob-to-arraybuffer

X Convert a Blob to an ArrayBuffer - Bun
Skip to main content
The Blob class provides a number of methods for consuming its contents in different formats, including .arrayBuffer().
const blob = new Blob(["hello world"]);
const buf = await blob.arrayBuffer();

See Docs > API > Binary Data for complete documentation on manipulating binary data with Bun.








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://bun.com/guides/binary/blob-to-arraybuffer

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy