Creates a new Blob
object containing a concatenation of the given sources.
{ArrayBuffer}, {TypedArray}, {DataView}, and {Buffer} sources are copied into the 'Blob' and can therefore be safely modified after the 'Blob' is created.
String sources are also copied into the Blob
.
The total size of the Blob
in bytes.
The content-type of the Blob
.
Returns a promise that fulfills with an ArrayBuffer containing a copy of
the Blob
data.
Creates and returns a new Blob
containing a subset of this Blob
objects
data. The original Blob
is not altered.
The starting index.
The ending index.
The content-type for the new Blob
Returns a new ReadableStream
that allows the content of the Blob
to be read.
Returns a promise that fulfills with the contents of the Blob
decoded as a
UTF-8 string.
Generated using TypeDoc
A
Blob
encapsulates immutable, raw data that can be safely shared across multiple worker threads.v15.7.0, v14.18.0