ktor-utils / io.ktor.util.cio / kotlinx.coroutines.io.ByteReadChannel / pass

pass

inline suspend fun ByteReadChannel.pass(buffer: ByteBuffer, block: (ByteBuffer) -> Unit): Unit
suspend fun ByteReadChannel.pass(buffer: ByteBuffer, block: suspend (ByteBuffer) -> Unit): Unit
Deprecated: Binary compatibility

Read data chunks from ByteReadChannel using buffer