ENet Class Library for C#

Packet.Clear Method

Sets the packet length to zero.

[Visual Basic]
Public NotOverridable Sub Clear() _
    Implements ICollection<byte>.Clear
[C#]
public void Clear();

Implements

ICollection<byte>.Clear

Exceptions

Exception Type Condition
InvalidOperationException The packet is not initialized.

See Also

Packet Class | ENet Namespace