Blob
The Blob
interface represents a blob, which is a file-like object of immutable, raw data; they can be read as text or binary data, or converted into a ReadableStream so its methods can be used for processing the data.
Inheritors
Constructors
Properties
Functions
The arrayBuffer()
method of the Blob interface returns a Promise that resolves with the contents of the blob as binary data contained in an ArrayBuffer.
The arrayBuffer()
method of the Blob interface returns a Promise that resolves with the contents of the blob as binary data contained in an ArrayBuffer.
The bytes()
method of the Blob interface returns a Promise that resolves with a Uint8Array containing the contents of the blob as an array of bytes.
The bytes()
method of the Blob interface returns a Promise that resolves with a Uint8Array containing the contents of the blob as an array of bytes.
The stream()
method of the Blob interface returns a ReadableStream which upon reading returns the data contained within the Blob
.