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.
CompressionLZ4::DecompressorLZ4 Class Reference

Inherits Compression::IDecompressionInterface.

Public Member Functions

Compression::CompressionAlgorithmId GetCompressionAlgorithmId () const override
 Retrieves the 32-bit compression algorithm ID associated with this interface.
 
AZStd::string_view GetCompressionAlgorithmName () const override
 Retrieves the human readable associated with the LZ4 compressor.
 
Compression::DecompressionResultData DecompressBlock (AZStd::span< AZStd::byte > decompressionBuffer, const AZStd::span< const AZStd::byte > &compressedData, const Compression::DecompressionOptions &decompressionOptions={}) const override
 

Member Function Documentation

◆ DecompressBlock()

Compression::DecompressionResultData CompressionLZ4::DecompressorLZ4::DecompressBlock ( AZStd::span< AZStd::byte >  decompressionBuffer,
const AZStd::span< const AZStd::byte > &  compressedData,
const Compression::DecompressionOptions decompressionOptions = {} 
) const
overridevirtual

Compresses the uncompressed data into the compressed buffer

Returns
a CompressionResultData instance to indicate if compression operation has succeeded

Implements Compression::IDecompressionInterface.


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