A simple file reader continuously reading into a 1 byte buffer and appending
it to the data. Ensures data is never buffered on any platform at the cost
of being a lot more CPU intensive.
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.
A simple file reader continuously reading into a 1 byte buffer and appending it to the data. Ensures data is never buffered on any platform at the cost of being a lot more CPU intensive.