Returns a buffered reader wrapping this Reader, or this Reader itself if it is already buffered.
fun Reader.buffered( bufferSize: Int = DEFAULT_BUFFER_SIZE ): BufferedReader
Copies this reader to the given out writer, returning the number of characters copied.
fun Reader.copyTo( out: Writer, bufferSize: Int = DEFAULT_BUFFER_SIZE ): Long
Reads this reader content as a list of lines.
fun Reader.readLines(): List<String>
Reads this reader completely as a String.
fun Reader.readText(): String
© 2010–2020 JetBrains s.r.o. and Kotlin Programming Language contributors
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.io/java.io.-reader/index.html