write

abstract fun write(byteArray: ByteArray, destination: File)

Write ByteArray data to the destination File

Parameters

byteArray

data to write

destination

the destination file

Throws

in case of IO operation problems