Blob

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

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.

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
suspend fun bytes(): Uint8Array<*>
Link copied to clipboard
Link copied to clipboard
fun slice(start: Int53 = definedExternally, end: Int53 = definedExternally, contentType: String = definedExternally): Blob
Link copied to clipboard
Link copied to clipboard
suspend fun text(): String
Link copied to clipboard