readTextExactBytes
Content copied to clipboard
Read exactly the specified number of bytes interpreting bytes in the specified charset (optional, UTF-8 by default).
fun Input.readTextExactBytes(bytesCount: Int, charset: Charset = Charsets.UTF_8): String
Content copied to clipboard
Read exactly bytesCount interpreting bytes in the specified charset (optional, UTF-8 by default).