Reports the index of the last occurrence of the specified
ByteString in this instance.
ByteString to seek
position in this instance where str was found;
or startIndex if str is empty;
or -1 if str is not found
The search begins at startIndex and continues to startIndex - count + 1. The position startIndex - count is not included in the search.
The search is case-sensitive.
| Exception Type | Condition |
|---|---|
| ArgumentNullException | str is null |
| ArgumentOutOfRangeException | startIndex < 0; or count < 0; or startIndex - count < 0 |
ByteString Class | Hunny.Base Namespace | ByteString.LastIndexOf Overload List