Kotlin Lire tous les octets de InputStream

val ins: InputStream;

// both close stream after use
val text = ins.bufferedReader().use { it.readText() }
val text = ins.reader().use { it.readText() }

// doesn't close stream after use
val text = ins.reader().readText()
just-saved-you-a-stackoverflow-visit