C# 클래스 HttpMultipartParser.SubsequenceFinder

Provides methods to find a subsequence within a sequence.
파일 보기 프로젝트 열기: Vodurden/Http-Multipart-Data-Parser 1 사용 예제들

공개 메소드들

메소드 설명
Search ( byte haystack, byte needle ) : int
Search ( byte haystack, byte needle, int haystackLength ) : int

Finds if a sequence exists within another sequence.

메소드 상세

Search() 공개 정적인 메소드

public static Search ( byte haystack, byte needle ) : int
haystack byte
needle byte
리턴 int

Search() 공개 정적인 메소드

Finds if a sequence exists within another sequence.
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