readTextExact

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

Deprecated: Use readTextExactCharacters instead.

Read exactly n characters interpreting bytes in the specified charset.