It looks like the code provided in the Kotlin refe...
# announcements
d
It looks like the code provided in the Kotlin reference:
Copy code
val stream = Files.newInputStream(Paths.get("/some/file.txt"))
stream.buffered().reader().use { reader ->
    println(reader.readText())
}
but doesn’t work