Simplify stream availability handling
Just have a simply number of bytes argument to avoid a lot of complexity.
This commit is contained in:
committed by
Lauri Kasanen
parent
92c7695981
commit
57a3c3bba8
@@ -38,7 +38,7 @@ namespace rdr {
|
||||
private:
|
||||
virtual bool fillBuffer(size_t maxSize, bool wait) = 0;
|
||||
|
||||
virtual size_t overrun(size_t itemSize, size_t nItems, bool wait);
|
||||
virtual bool overrun(size_t needed, bool wait);
|
||||
|
||||
private:
|
||||
size_t bufSize;
|
||||
|
||||
Reference in New Issue
Block a user