FileReader.yieldData

Yields until the specified length of data is available, then removes the data from the incoming data stream atomically and returns a duplicate of it. Returns null if the file reader stops while reading.

class FileReader
ubyte[]
yieldData
(
size_t length
,
bool* whileThisIs = null
,
bool equalToThis = true
)

Meta