Reports the index of the first occurrence of the specified byte in this instance.
position in this instance where by was found;
-1 if by was not found
Index numbering starts from zero.
The search starts at position startIndex. At most count positions are examined.
| Exception Type | Condition |
|---|---|
| ArgumentOutOfRangeException | startIndex < 0; count < 0; startIndex + count > Length |
ByteString Class | Hunny.Base Namespace | ByteString.IndexOf Overload List