Package kotlinx.coroutines.experimental.io.jvm.nio
Extensions for External Classes
Functions
suspend fun ByteReadChannel.copyTo( Copy up to limit bytes to blocking NIO channel. Copying to non-blocking channel requires selection and not supported. It does suspend if no data available in byte channel but may block if destination NIO channel blocks. suspend fun ByteReadChannel.copyTo( Copy up to limit bytes to blocking pipe. A shortcut to copyTo function with NIO channel destination |