copyToBoth

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

Copy a source channel to both output channels chunk by chunk.

Report a problem