ktor
2.0.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
js
ktor-io
/
io.ktor.utils.io.js
/
readText
read
Text
js
fun
ByteReadPacket
.
readText
(
encoding
:
String
,
max
:
Int
=
Int.MAX_VALUE
)
:
String
Content copied to clipboard
fun
ByteReadPacket
.
readText
(
encoding
:
String
=
"UTF-8"
,
out
:
Appendable
,
max
:
Int
=
Int.MAX_VALUE
)
:
Int
Content copied to clipboard