C# Class PatternFinder.Pattern

Afficher le fichier Open project: mrexodia/PatternFinder Class Usage Examples

Méthodes publiques

Méthode Description
Find ( byte data, Byte pattern ) : bool
Find ( byte data, Byte pattern, long &offsetFound ) : bool
Format ( string pattern ) : string
Scan ( byte data, Signature signatures ) : Signature[]
Transform ( string pattern ) : Byte[]

Private Methods

Méthode Description
hexChToInt ( char ch ) : int
matchByte ( byte b, Byte &p ) : bool

Method Details

Find() public static méthode

public static Find ( byte data, Byte pattern ) : bool
data byte
pattern Byte
Résultat bool

Find() public static méthode

public static Find ( byte data, Byte pattern, long &offsetFound ) : bool
data byte
pattern Byte
offsetFound long
Résultat bool

Format() public static méthode

public static Format ( string pattern ) : string
pattern string
Résultat string

Scan() public static méthode

public static Scan ( byte data, Signature signatures ) : Signature[]
data byte
signatures Signature
Résultat Signature[]

Transform() public static méthode

public static Transform ( string pattern ) : Byte[]
pattern string
Résultat Byte[]