Open 3D Engine Compression Gem API Reference
24.09
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
|
Inherited by CompressionLZ4::DecompressorLZ4.
Public Member Functions | |
virtual CompressionAlgorithmId | GetCompressionAlgorithmId () const =0 |
Retrieves the 32-bit compression algorithm ID associated with this interface. | |
virtual AZStd::string_view | GetCompressionAlgorithmName () const =0 |
Human readable name associated with the compression algorithm. | |
virtual DecompressionResultData | DecompressBlock (AZStd::span< AZStd::byte > decompressionBuffer, const AZStd::span< const AZStd::byte > &compressedData, const DecompressionOptions &decompressionOptions={}) const =0 |
|
pure virtual |
Decompresses the input compressed data into the uncompressed buffer Both parameters are specified as spans which encapsulates the contiguous buffer and it's size.
uncompressedBuffer | destination buffer where uncompress output will be stored |
compressedData | source buffer containing compressed data to decompress |
decompressionOptions | that can be provided to the Compressor |
Implemented in CompressionLZ4::DecompressorLZ4.