writeBytes
@JvmName(name = "writeBytesTo")
Writes the full contents of array to the file.
Return
The File for chaining operations.
Parameters
excl
The OpenExcl desired for this open operation. If null
, then OpenExcl.MaybeCreate.DEFAULT will be used.
appending
If true
, data written to this file will occur at the end of the file. If false
, the file will be truncated if it exists.
array
of bytes to write.
See also
Throws
UnsupportedOperationException
On Kotlin/JS-Browser.
@JvmName(name = "writeBytesTo")
Writes the full contents of array to the file. The File will be truncated if it exists.
Return
The File for chaining operations.
Parameters
excl
The OpenExcl desired for this open operation. If null
, then OpenExcl.MaybeCreate.DEFAULT will be used.
array
of bytes to write.
See also
Throws
UnsupportedOperationException
On Kotlin/JS-Browser.