File

open external class File : Blob (source)

Platform and version requirements: JS

Exposes the JavaScript File to Kotlin

Constructors

<init>

File(
    fileBits: Array<dynamic>,
    fileName: String,
    options: FilePropertyBag = definedExternally)

Exposes the JavaScript File to Kotlin

Properties

lastModified

open val lastModified: Int

name

open val name: String

Inherited Properties

isClosed

open val isClosed: Boolean

size

open val size: Int

type

open val type: String

Inherited Functions

close

fun close()

slice

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