AWritable

interface AWritable

Represents a writable socket

Functions

Link copied to clipboard
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

Inheritors

Link copied to clipboard
Link copied to clipboard

Extensions

Link copied to clipboard
fun AWritable.openWriteChannel(autoFlush: Boolean = false): ByteWriteChannel

Open a write channel, could be opened only once