bufferedWriter
inline fun File.bufferedWriter(charset: Charset = Charsets.UTF_8, bufferSize: Int = DEFAULT_BUFFER_SIZE): BufferedWriter(source)
Returns a new BufferedWriter for writing the content of this file.
Since Kotlin
1.0Parameters
bufferSize
necessary size of the buffer.
Creates a buffered writer on this output stream using UTF-8 or the specified charset.