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

This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
Last modified Tue Apr 13 2021 08:53:15