DenoFsFile

external interface DenoFsFile

Functions

Link copied to clipboard
abstract fun close()
Link copied to clipboard
abstract fun read(data: Uint8Array): Promise<Double?>
Link copied to clipboard
abstract fun readSync(data: Uint8Array): Double?
Link copied to clipboard
abstract fun seek(pos: Double, whence: Int): Promise<Double>
Link copied to clipboard
abstract fun seekSync(pos: Double, whence: Int): Double
Link copied to clipboard
abstract fun stat(): Promise<DenoFileInfo>
Link copied to clipboard
abstract fun statSync(): DenoFileInfo
Link copied to clipboard
abstract fun truncate(len: Double? = definedExternally): Promise<Unit>
Link copied to clipboard
abstract fun truncateSync(len: Double? = definedExternally)
Link copied to clipboard
abstract fun write(data: Uint8Array): Promise<Double>
Link copied to clipboard
abstract fun writeSync(data: Uint8Array): Double