martaFile

Method writeText()

fun File:writeText(

text: String,

flags: OptionSet<FileOutputStreamFlags>,

mode: Int

): Error?

Suspends

Writes the text string to a file.

mode is a POSIX permission mask. Bits higher than 0777 are ignored.