readText

Platform and version requirements: JVM (1.0)
fun Reader.readText(): String

Reads this reader completely as a String.

Note: It is the caller's responsibility to close this reader.

Return the string with corresponding file content.

© 2010–2021 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/read-text.html