Open 3D Engine AzCore API Reference 23.10.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
AZ::IO::CompressorZStdData Class Reference

#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
Compressorm_compressor
 
AZ::u64 m_uncompressedSize
 

Detailed Description

ZStd compressor per stream data.


The documentation for this class was generated from the following file: