Skip to main content
Version: 4.0.0

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​

arrayBuffer()

Parameters​

None.

Return value​

A Promise that resolves with an ArrayBuffer containing the blob's data.