C# Class PatternFinder.Pattern

ファイルを表示 Open project: mrexodia/PatternFinder Class Usage Examples

Public Methods

Method 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

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

Method Details

Find() public static method

public static Find ( byte data, Byte pattern ) : bool
data byte
pattern Byte
return bool

Find() public static method

public static Find ( byte data, Byte pattern, long &offsetFound ) : bool
data byte
pattern Byte
offsetFound long
return bool

Format() public static method

public static Format ( string pattern ) : string
pattern string
return string

Scan() public static method

public static Scan ( byte data, Signature signatures ) : Signature[]
data byte
signatures Signature
return Signature[]

Transform() public static method

public static Transform ( string pattern ) : Byte[]
pattern string
return Byte[]