comp • gb • byte[] • find

Byte[].Find (gb)

Function Find ( Value As Byte [ , Start As Integer ] ) As Integer

Returns the position of the first occurrence of Value in the array.

If Start is specified, then the search begins at the Start position. By default the entire array is searched.

If Value cannot be found, -1 is returned.