Struct PooledPacket
Namespace: LiteNetLib
Assembly: LiteNetLib.dll
Syntax
public readonly ref struct PooledPacket
Fields
MaxUserDataSize
Maximum data size that you can put into such packet
Declaration
public readonly int MaxUserDataSize
Field Value
| Type | Description |
|---|---|
| int |
UserDataOffset
Offset for user data when writing to Data array
Declaration
public readonly int UserDataOffset
Field Value
| Type | Description |
|---|---|
| int |
Properties
Data
Raw packet data. Do not modify header! Use UserDataOffset as start point for your data
Declaration
public byte[] Data { get; }
Property Value
| Type | Description |
|---|---|
| byte[] |