Blob.arrayBuffer()
The arrayBuffer()
method of the Blob
interface returns a Promise
that resolves with an ArrayBuffer
containing the entire contents of the Blob
as binary data.
Syntax
Parameters
None.
Return value
A Promise
that resolves with an ArrayBuffer
containing the blob's data.