W3cubDocs

/Kotlin

readLines

Platform and version requirements: JVM (1.0)
fun Reader.readLines(): List<String>

Reads this reader content as a list of lines.

Do not use this function for huge files.

© 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/read-lines.html