ENet Class Library for C#

Packet.RemoveAt Method

Removes the byte at the specified index from the packet.

[Visual Basic]
Public NotOverridable Sub RemoveAt( _
   ByVal index As Integer _
) _
    Implements IList<byte>.RemoveAt
[C#]
public void RemoveAt(
   int index
);

Parameters

index
The index of the byte to remove.

Implements

IList<byte>.RemoveAt

Exceptions

Exception Type Condition
ArgumentOutOfRangeException index is out of range.
InvalidOperationException The packet is not initialized.

See Also

Packet Class | ENet Namespace