FOodleNetworkDictionaryArchive::SerializeDictionaryAndState

Serializes raw dictionary data and compressor state to/from file, compressing/decompressing the data as needed

Windows
MacOS
Linux

References

Module

OodleNetworkHandlerComponent

Header

/Engine/Plugins/Compression/OodleNetwork/Source/Public/OodleNetworkArchives.h

Include

#include "OodleNetworkArchives.h"

Source

/Engine/Plugins/Compression/OodleNetwork/Source/Private/OodleNetworkArchives.cpp

Syntax

void SerializeDictionaryAndState
(
    uint8 *& DictionaryData,
    uint32 & DictionaryBytes,
    uint8 *& CompactCompresorState,
    uint32 & CompactCompressorStateBytes
)

Remarks

Serializes raw dictionary data and compressor state to/from file, compressing/decompressing the data as needed

IMPORTANT: When serializing from disk, the caller is responsible for freeing DictionaryData and CompactCompressorState pointers

Parameters

Parameter

Description

DictionaryData

Pointer to dictionary data, when saving, and reference to nullptr void*, when loading

DictionaryBytes

Inputs/Outputs the size of the dictionary

CompactCompressorState

Pointer to compressor data, when saving, and reference to nullptr void*, when loading

CompactCompressorStateBytes

Inputs/Outputs the size of the compressor data

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