Guides · Binary Data
Convert a Blob to an ArrayBuffer
Read the contents of a Blob into an ArrayBuffer with its .arrayBuffer() method.
The Blob class provides several methods for consuming its contents in different formats, including .arrayBuffer().
const blob = new Blob(["hello world"]);
const buf = await blob.arrayBuffer();
See Binary Data.