ENet Class Library for C# |
|
Packet.IndexOf Method
Checks if the packet contains a particular byte, and if so, returns the index.
[Visual Basic]
Public NotOverridable Sub IndexOf( _
ByVal
value As
Byte _
) _
[C#]
public
int IndexOf(
byte value);
Parameters
-
value
- The value to look for.
Return Value
The index of the byte, or -1.
Implements
IList<byte>.IndexOf
Exceptions
See Also
Packet Class | ENet Namespace