readTextExact

fun Input.readTextExact(charset: Charset = Charsets.UTF_8, n: Int): String

Deprecated

Use readTextExactCharacters instead.

Replace with

readTextExactCharacters(n, charset)

Read exactly n characters interpreting bytes in the specified charset.