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
/
ByteChannelSequentialBase
/
writeAvailable
write
Available
open
suspend override
fun
writeAvailable
(
src
:
ChunkBuffer
)
:
Int
open
suspend override
fun
writeAvailable
(
src
:
ByteArray
,
offset
:
Int
,
length
:
Int
)
:
Int
Writes as much as possible and only suspends if buffer is full