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