Hunny Software Library Reference

ByteString.LastIndexOfAny Method (Byte[])

Reports the index of the last occurrence of any byte in a specified set of bytes.

[Visual Basic]
Overloads Public Function LastIndexOfAny( _
   ByVal anyOf As Byte() _
) As Integer
[C#]
public int LastIndexOfAny(
   byte[] anyOf
);

Parameters

anyOf
byte array containing the set of bytes to seek

Return Value

largest index where any byte in anyOf was found;
-1 if no byte in anyOf was found

Exceptions

Exception TypeCondition
ArgumentNullExceptionanyOf is null

See Also

ByteString Class | Hunny.Base Namespace | ByteString.LastIndexOfAny Overload List