kotlin.io.java.io.Reader.readText

readText

fun Reader.readText(): String

Platform and version requirements: JVM

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–2017 JetBrains s.r.o.
Licensed under the Apache License, Version 2.0.
登录查看完整内容