joinTo

suspend fun ByteChannelSequentialBase.joinTo(
    dst: ByteChannelSequentialBase,
    closeOnEnd: Boolean
): Unit

Deprecated: This is going to become internal. Use ByteReadChannel receiver instead.

suspend expect fun ByteReadChannel.joinTo(
    dst: ByteWriteChannel,
    closeOnEnd: Boolean
): Unit