FiberSelectReader.readRaw

Reads data.length bytes from the socket and writes them to the array.

Will only return once enough data is available and the array could be filled.

class FiberSelectReader
typeof(this)
readRaw
(
ubyte[] data_out
)

Parameters

data_out ubyte[]

pre-allocated array which will be filled

Return Value

Type: typeof(this)

this instance

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