Blob

open external class Blob(blobParts: ReadonlyArray<BlobPart> = definedExternally, options: BlobPropertyBag = definedExternally) : ImageBitmapSource(source)

A file-like object of immutable, raw data. Blobs represent data that isn't necessarily in a JavaScript-native format. The File interface is based on Blob, inheriting blob functionality and expanding it to support files on the user's system.

MDN Reference

Inheritors

Constructors

Link copied to clipboard
constructor(blobParts: ReadonlyArray<BlobPart> = definedExternally, options: BlobPropertyBag = definedExternally)

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun slice(start: JsLong = definedExternally, end: JsLong = definedExternally, contentType: String = definedExternally): Blob
Link copied to clipboard
Link copied to clipboard
suspend fun text(): String
Link copied to clipboard