attachForWriting

abstract fun attachForWriting(channel: ByteChannel): ReaderJob

Attach channel for writing so bytes written to the attached channel will be transmitted Only one channel could be attached

Return

a job that does transmit data from the channel