kvision / pl.treksoft.kvision.cordova / FileWriterSync

FileWriterSync

external interface FileWriterSync

Properties

length

abstract var length: Number

position

abstract var position: Number

Functions

seek

abstract fun seek(offset: Number): Unit

truncate

abstract fun truncate(size: Number): Unit

write

abstract fun write(data: <ERROR CLASS>): Unit

Extension Functions

createInstance

fun <T> Any?.createInstance(vararg args: dynamic): T

Helper function for creating JavaScript objects from dynamic constructors.