openAppend
Opens a File for write operations, appending all new data to the end of the file.
e.g.
"/path/to/my/file".toFile().openAppend(excl = null).use { s ->
// write
}
Content copied to clipboard
Return
A FileStream.Write for write-only operations.
Parameters
excl
The OpenExcl desired for this open operation. If null
, then OpenExcl.MaybeCreate.DEFAULT will be used.
See also
Throws
UnsupportedOperationException
On Kotlin/JS-Browser.