28 #ifndef __OGRE_DEFLATE_H__
29 #define __OGRE_DEFLATE_H__
104 size_t read(
void* buf,
size_t count);
108 size_t write(
const void* buf,
size_t count);
112 void skip(
long count);
116 void seek(
size_t pos );
120 size_t tell(
void)
const;
124 bool eof(
void)
const;
DataStreamPtr mTmpWriteStream
StaticCache< 16 *OGRE_STREAM_TEMP_SIZE > mReadCache
Cache for read data in case skipping around.
unsigned char * mTmp
Intermediate buffer for read / write.
struct z_stream_s z_stream
bool mIsCompressedValid
Whether the underlying stream is valid compressed data.
DataStreamPtr mCompressedStream
Stream which compresses / uncompresses data using the 'deflate' compression algorithm.
General purpose class used for encapsulating the reading and writing of data.
bool isCompressedStreamValid() const
Returns whether the compressed stream is valid deflated data.