FPacketAudit::PacketCRC

Gets the CRC of a packet, zeroing any unwritten bits in the last byte beforehand.

Windows
MacOS
Linux

References

Module

NetCore

Header

/Engine/Source/Runtime/Net/Core/Public/Net/Core/Misc/PacketAudit.h

Include

#include "Net/Core/Misc/PacketAudit.h"

Source

/Engine/Source/Runtime/Net/Core/Private/Net/Core/Misc/PacketAudit.cpp

Syntax

static uint32 PacketCRC
(
    uint8 * Data,
    uint32 DataLenBits
)

Remarks

Gets the CRC of a packet, zeroing any unwritten bits in the last byte beforehand.

Returns

Returns the CRC of the packet

Parameters

Parameter

Description

Data

The packet data

DataLenBits

The length of the data, in bits

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