Blob

JS
1.1
open class Blob : ImageBitmapSource

Exposes the JavaScript Blob to Kotlin

Constructors

JS
1.1

<init>

Exposes the JavaScript Blob to Kotlin

Blob(
    blobParts: Array<dynamic> = definedExternally,
    options: BlobPropertyBag = definedExternally)

Properties

JS
1.1

isClosed

open val isClosed: Boolean
JS
1.1

size

open val size: Number
JS
1.1

type

open val type: String

Functions

JS
1.1

close

fun close()
JS
1.1

slice

fun slice(
    start: Int = definedExternally,
    end: Int = definedExternally,
    contentType: String = definedExternally
): Blob

Inheritors

JS
1.1

File

Exposes the JavaScript File to Kotlin

open class File : Blob