FOodleCompressedArray::CompressTArray

Compress an arbitrary data pointer, replacing existing data.

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::CompressTArray
    (
        TArray< uint8 > & OutCompressed,
        const TArray< T > & InBuffer,
        FOodleDataCompression::ECompressor InCompressor,
        FOodleDataCompression::ECompressionLevel InLevel
    )
}

Remarks

Compress an arbitrary data pointer, replacing existing data.

This is just a thunk to CompressData, and exists just for type safety so everyone doesn't have to pull out the raw data from their TArrays.

See CompressData for parameter discussion.