FPacketBufferView

Represents a view of a buffer for storing packets.

Windows
MacOS
Linux

References

Module

Sockets

Header

/Engine/Source/Runtime/Sockets/Public/SocketTypes.h

Include

#include "SocketTypes.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

Name Description

Public variable

const TArrayVie...

 

Buffer

View of the packet buffer, with Num() representing allocated size.

Constructors

Name Description

Public function

FPacketBufferView

(
    uint8* InData,
    int32 MaxBufferSize
)

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