메소드 | 설명 | |
---|---|---|
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 | |
리턴 | 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 /// |
리턴 | int |