FPacketCaptureArchive::SerializePacket

Serialize an individual packet to/from the archive.

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

void SerializePacket
(
    void * PacketData,
    uint32 & PacketSize
)

Remarks

Serialize an individual packet to/from the archive. It is possible for there to be an incomplete packet stored - in which case, attempting to read will set the archives error mode

Parameters

Parameter

Description

PacketData

The location of/for the packet data

PacketSize

For saving, the size of the packet, for loading, inputs the size of the buffer, and outputs the packet size