ENet Class Library for C#

Packet.Remove Method

Removes the first byte in the packet with the specified value.

[Visual Basic]
Public NotOverridable Sub Remove( _
   ByVal value As Byte _
) _
    Implements ICollection<byte>.Remove
[C#]
public bool Remove(
   byte value
);

Parameters

value
The value of the byte to remove.

Return Value

True if a byte was found and removed.

Implements

ICollection<byte>.Remove

Exceptions

Exception Type Condition
InvalidOperationException The packet is not initialized.

See Also

Packet Class | ENet Namespace