AReadable

interface AReadable

Represent a readable socket

Functions

Link copied to clipboard
abstract fun attachForReading(channel: ByteChannel): WriterJob

Attach channel for reading so incoming bytes appears in the attached channel. Only one channel could be attached

Inheritors

Link copied to clipboard
Link copied to clipboard

Extensions

Link copied to clipboard
fun AReadable.openReadChannel(): ByteReadChannel

Open a read channel, could be done only once