FOodleNetworkArchiveBase::SerializeOodleCompressData

Compresses data and serializes it into the archive, and writes/serializes info to the specified [FOodleCompressedData](API\Plugins\OodleNetworkHandlerComponent\FOodleNetworkArchiveBase\FOodleCompressed-) struct

Choose your operating system:

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

bool SerializeOodleCompressData
(
    FOodleCompressedData & OutDataInfo,
    uint8 * Data,
    uint32 DataBytes
)

Remarks

Compresses data and serializes it into the archive, and writes/serializes info to the specified FOodleCompressedData struct

FOodleNetworkArchiveBase

Returns

Whether or not compression was successful

Parameters

Parameter

Description

OutDataInfo

The FOodleCompressedData struct in the file header, which will store info needed for decompression

Data

The data to be compressed

DataBytes

The length of Data