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