Navigation
API > API/Runtime > API/Runtime/NetCommon
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.
| Name | FPacketBufferView |
| Type | struct |
| Header File | /Engine/Source/Runtime/Net/Common/Public/Net/Common/Packets/PacketView.h |
| Include Path | #include "Net/Common/Packets/PacketView.h" |
Syntax
struct FPacketBufferView
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FPacketBufferView
(
uint8* InData, |
Net/Common/Packets/PacketView.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Buffer | const TArrayView< uint8 > | View of the packet buffer, with Num() representing allocated size. | Net/Common/Packets/PacketView.h |