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–2019 JetBrains s.r.o.
Licensed under the Apache License, Version 2.0.