FOodleCompressedArray::DecompressToTArray

Decompress to a [TArray](API\Runtime\Core\Containers\TArray).

Choose your operating system:

Windows

macOS

Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Compression/OodleDataCompressionUtil.h

Include

#include "Compression/OodleDataCompressionUtil.h"

Syntax

namespace FOodleCompressedArray
{
    template<class T>
    static bool FOodleCompressedArray::DecompressToTArray
    (
        TArray< T > & OutDecompressed,
        TArray< uint8 > const & InCompressed
    )
}

Remarks

Decompress to a TArray. This should be paired with CompressTArray.

that if the compress/decompress TArray types are mismatched (i.e. have different sizes) this could fail due to granularity concerns.

Returns

Success or failure.

Parameters

Parameter

Description

OutDecompressed

The output TArray. Existing contents will be destroyed.

InCompressed

A TArray created by one of the FOodleCompressedArray compression functions.