FOodleCompressedArray::PeekSizes

Provides access to the compressed and decompressed sizes.

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
{
    static int32 FOodleCompressedArray::PeekSizes
    (
        TArray< uint8 > const & InCompressed,
        int32 & OutCompressedSize,
        int32 & OutDecompressedSize
    )
}

Remarks

Provides access to the compressed and decompressed sizes.

Returns

0 if the FCompressedArray isn't valid, or if the compressed array requires PeekSizes64. Otherwise, the offset to the compressed data in the array.

Parameters

Parameter

Description

InCompressed

A TArray generated by a call to one of the FOodleCompressedArray compression functions.

OutCompressedSize

The amount of compressed data (The array Num() is this plus the header size).

OutDecompressedSize

The number of bytes decompressing the data will produce.