Méthode | Description | |
---|---|---|
Search ( byte haystack, byte needle ) : int | ||
Search ( byte haystack, byte needle, int haystackLength ) : int |
Finds if a sequence exists within another sequence.
|
public static Search ( byte haystack, byte needle ) : int | ||
haystack | byte | |
needle | byte | |
Résultat | int |
public static Search ( byte haystack, byte needle, int haystackLength ) : int | ||
haystack | byte | /// The sequence to search /// |
needle | byte | /// The sequence to look for /// |
haystackLength | int | /// The length of the haystack to consider for searching /// |
Résultat | int |