C# Class HttpMultipartParser.SubsequenceFinder

Provides methods to find a subsequence within a sequence.
Afficher le fichier Open project: Vodurden/Http-Multipart-Data-Parser Class Usage Examples

Méthodes publiques

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.

Method Details

Search() public static méthode

public static Search ( byte haystack, byte needle ) : int
haystack byte
needle byte
Résultat int

Search() public static méthode

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 ///
Résultat int