Navigation
API > API/Plugins > API/Plugins/OodleNetworkHandlerComponent > API/Plugins/OodleNetworkHandlerComponent/FOodleNetworkDictionaryArchive
Description
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
| Name | SerializeDictionaryAndState |
| Type | function |
| Header File | /Engine/Plugins/Compression/OodleNetwork/Source/Public/OodleNetworkArchives.h |
| Include Path | #include "OodleNetworkArchives.h" |
| Source | /Engine/Plugins/Compression/OodleNetwork/Source/Private/OodleNetworkArchives.cpp |
void SerializeDictionaryAndState
(
uint8 *& DictionaryData,
uint32 & DictionaryBytes,
uint8 *& CompactCompresorState,
uint32 & CompactCompressorStateBytes
)
Parameters
| Name | Remarks |
|---|---|
| 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 |