size property
int
get
size
The slice()
method of the Blob interface
creates and returns a new Blob
object which contains data from a subset
of
the blob on which it's called.
The stream()
method of the Blob interface returns a
ReadableStream
which upon reading returns the data contained within the
Blob
.
The text()
method of the
Blob interface returns a Promise
that resolves with a
string containing the contents of the blob, interpreted as UTF-8.
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 size
read-only property of the Blob interface returns
the size of the Blob or File in bytes.
Implementation
//[LARPOUX]Blob slice([
// int start,
// int end,
// String contentType,
// ]);
/// The **`stream()`** method of the [Blob] interface returns a
/// [ReadableStream] which upon reading returns the data contained within the
/// `Blob`.
//[LARPOUX]ReadableStream stream();
/// The **`text()`** method of the
/// [Blob] interface returns a `Promise` that resolves with a
/// string containing the contents of the blob, interpreted as UTF-8.
//[LARPOUX]Future<String> text();
/// 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`.
//[LARPOUX]Future<JSArrayBuffer> arrayBuffer();
/// The **`size`** read-only property of the [Blob] interface returns
/// the size of the [Blob] or [File] in bytes.
int get size;