Constructor.
Constructor
Consumer callback delegate type
Input device
Invokes consume with the data that are currently available and haven't yet been consumed. If the amount of data is sufficient, consume must return the number of bytes it consumed. Otherwise if consume consumed all data and needs more input data to be read from the I/O device, it must return a value greater than the number of data bytes passed to it.
Reads T.sizeof bytes from the socket and writes it to 'value' Suspends if not enough data is available and resumes when the data became available
Reads data from the input conduit, appends it to the data buffer and invokes consume with the data that is currently available and hasn't yet been consumed. If consume feels that the amount of data passed to it is sufficient, it must return the number of bytes it consumed. Otherwise if consume consumed all the data and still needs more input data to be read from the I/O device, it must return a value greater than length of the the data passed to it. The fiber is then suspended to wait for more data to be available from the input device, and consume is invoked again with the newly available data.
Reads data.length bytes from the socket and writes them to the array.
Reads data from the input conduit and appends them to the data buffer, waiting for data to be read from the input conduit if
Resets the amount of consumed/available data to 0.
Reads data from the input conduit and appends them to the data buffer.
Default input buffer size (16 kB).
Local aliases
I/O device
Events to register the I/O device for.
IOWarning exception instance
IOError exception instance
Resumes the fiber coroutine and handle the events reported for the conduit. The fiber must be suspended (HOLD state).
Registers this instance in the select dispatcher and repeatedly calls transmit() until the transmission is finished.
Reads/writes data from/to super.conduit for which events have been reported.