toggle menu
ktor
2.3.12
3.0.0-beta-2
3.0.0-beta-1
2.3.12
2.2.4
2.0.3
1.6.8
common
switch theme
search in API
ktor-io
/
io.ktor.utils.io.charsets
/
encode
encode
fun
CharsetEncoder
.
encode
(
input
:
CharSequence
,
fromIndex
:
Int
=
0
,
toIndex
:
Int
=
input.length
)
:
ByteReadPacket
fun
CharsetEncoder
.
encode
(
input
:
CharArray
,
fromIndex
:
Int
,
toIndex
:
Int
,
dst
:
Output
)