ktor-io / io.ktor.utils.io / ByteChannelSequentialJVM / writeWhile

writeWhile

suspend fun writeWhile(block: (ByteBuffer) -> Boolean): Unit

Overrides ByteWriteChannel.writeWhile