ENet Class Library for C#

Packet.Data Property

Gets a pointer to the packet data.

[Visual Basic]
Public ReadOnly Property Data() As IntPtr
   Public Get
   End Get
End Property
[C#]
public IntPtr Data { public get; }

Exceptions

Exception Type Condition
InvalidOperationException The packet is not initialized.

See Also

Packet Class | ENet Namespace