Ktor
Toggle table of contents
3.1.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
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
)