virtual bool rawRead(void *buffer, int length);
virtual int rawGetc();
virtual void rawClose();
- virtual void rawFlush(FlushType type);
+ virtual void rawFlush();
private:
inline int freeCacheSize() const
else
return 0;
}
+ inline bool endOfData() const
+ {
+ return m_stream.eof() && freeCacheSize() == 0;
+ }
void flushCache();
void createCache(size_t size);
void writeCompressedLength(uint32_t num);