FArchive::SetCompressionMap

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

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

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss