FArchive::SetCompressionMap

Sets mapping from offsets/ sizes that are going to be used for seeking and serialization to what is actually stored on disk.

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

FArchive::SetCompressionMap()

FArchiveProxy::SetCompressionMap()

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Serialization/Archive.h

Include

#include "Serialization/Archive.h"

Syntax

virtual bool SetCompressionMap
(
    TArray< struct FCompressedChunk > * CompressedChunks,
    ECompressionFlags CompressionFlags
)

Remarks

Sets mapping from offsets/ sizes that are going to be used for seeking and serialization to what is actually stored on disk. If the archive supports dealing with compression in this way it is going to return true.

Returns

true if archive supports translating offsets & uncompressing on read, false otherwise

Parameters

Parameter

Description

CompressedChunks

Pointer to array containing information about [un]compressed chunks

CompressionFlags

Flags determining compression format associated with mapping