write

abstract fun write(fileName: String, data: ByteArray)

Writes all the bytes to a file.

Parameters

fileName

The name of the file without a path.

data

The contents of the file.