FiberSelectReader.receive

Reads data from the input conduit and appends them to the data buffer, waiting for data to be read from the input conduit if

If no data is available from the input conduit, the input reading fiber is suspended and continues reading on resume.

class FiberSelectReader
size_t
receive
()

Return Value

Type: size_t

number of bytes read

Throws

IOException if no data were received and won't arrive later: - IOWarning on end-of-flow condition or if the remote hung up, - IOError (IOWarning subclass) on I/O error.

Meta