Navigation
API > API/Runtime > API/Runtime/NetCommon > API/Runtime/NetCommon/Net > API/Runtime/NetCommon/Net/Common > API/Runtime/NetCommon/Net/Common/Packets
References
| Module | NetCommon |
| Header | /Engine/Source/Runtime/Net/Common/Public/Net/Common/Packets/PacketView.h |
| Include | #include "Net/Common/Packets/PacketView.h" |
Syntax
struct FPacketBufferView
Remarks
Represents a view of a buffer for storing packets. Buffer contents may be modified, but the allocation can not be resized. Should only be stored as a local variable within functions that handle received packets.
Variables
| Type | Name | Description | |
|---|---|---|---|
| const TArrayView< uint8 > | Buffer | View of the packet buffer, with Num() representing allocated size. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FPacketBufferView
(
uint8* InData, |