writer
inline fun File.writer(charset: Charset = Charsets.UTF_8): OutputStreamWriter
Content copied to clipboard
Returns a new FileWriter for writing the content of this file.
inline fun OutputStream.writer(charset: Charset = Charsets.UTF_8): OutputStreamWriter
Content copied to clipboard
Creates a writer on this output stream using UTF-8 or the specified charset.