#include <CompressorZLib.h>
Inherits AZ::IO::CompressorData.
Public Types | |
typedef AZStd::vector< CompressorZLibSeekPoint > | SeekPointArray |
Public Member Functions | |
AZ_CLASS_ALLOCATOR (CompressorZLibData, AZ::SystemAllocator) | |
CompressorZLibData (IAllocator *zlibMemAllocator=0) | |
Public Attributes | |
ZLib | m_zlib |
AZ::u64 | m_decompressNextOffset |
Next offset in the compressed stream for decompressing. | |
AZ::u64 | m_decompressLastOffset |
Last valid offset in the compressed stream of the compressed data. Used only when we decompress. | |
unsigned char * | m_decompressedCache |
Decompressed stream cache. | |
unsigned int | m_decompressedCacheDataSize |
Number of valid bytes in the decompressed cache. | |
ZLib::Header | m_zlibHeader |
Stored 2 bytes header of the zlib when we reset the decompressor. | |
union { | |
AZ::u64 m_decompressedCacheOffset | |
Used when decompressing. Decompressed cache is the data offset in the uncompressed data stream. | |
AZ::u64 m_autoSeekSize | |
Used when compressing to define auto seek point window. | |
}; | |
SeekPointArray | m_seekPoints |
List of seek points for the archive, we must have at least one! | |
Public Attributes inherited from AZ::IO::CompressorData | |
Compressor * | m_compressor |
AZ::u64 | m_uncompressedSize |
ZLib compressor per stream data.