ktor
2.2.x
Select version
3.3.x
3.2.x
3.1.x
3.0.x
2.3.x
2.2.x
2.0.x
1.6.x
common
ktor-io
/
io.ktor.utils.io.core
/
readTextExactCharacters
read
Text
Exact
Characters
fun
Input
.
readTextExactCharacters
(
charactersCount
:
Int
,
charset
:
Charset
=
Charsets.UTF_8
)
:
String
Read exactly
charactersCount
characters interpreting bytes in the specified
charset
.