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 ranges from startIndex to the end of the string.
| Exception Type | Condition |
|---|---|
| ArgumentOutOfRangeException | startIndex < 0 or startIndex > Length |
ByteString Class | Hunny.Base Namespace | ByteString.IndexOf Overload List