#include <CompressorZStd.h>
Inherits AZ::IO::CompressorData.
Public Types | |
| using | SeekPointArray = AZStd::vector< CompressorZStdSeekPoint > |
Public Member Functions | |
| AZ_CLASS_ALLOCATOR (CompressorZStdData, AZ::SystemAllocator) | |
| CompressorZStdData (IAllocator *zstdMemAllocator=0) | |
Public Attributes | ||
| ZStd | m_zstd | |
| 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. | ||
| ZStd::Header | m_zstdHeader | |
| 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 | |
ZStd compressor per stream data.