copyToBoth

fun ByteReadChannel.copyToBoth(first: ByteWriteChannel, second: ByteWriteChannel)

Copy source channel to both output channels chunk by chunk.