Ktor
Toggle table of contents
3.1.3
Select version
3.1.3
3.0.3
2.3.12
2.2.4
2.0.3
1.6.8
common
jvm
Platform filter
common
jvm
Switch theme
Search in API
Ktor
ktor-io
/
io.ktor.utils.io.core
/
readAvailable
read
Available
common
jvm
fun
Source
.
readAvailable
(
out
:
Buffer
)
:
Int
(
source
)
fun
Input
.
readAvailable
(
buffer
:
ByteArray
,
offset
:
Int
=
0
,
length
:
Int
=
buffer.size - offset
)
:
Int
(
source
)
fun
Source
.
readAvailable
(
buffer
:
ByteBuffer
)
:
Int
(
source
)