writeUtf8

@JvmName(name = "writeUtf8To")
fun File.writeUtf8(text: String)(source)

Writes the full contents of text to the file (as UTF-8)