C# Class dnSpy.Hex.Editor.Search.NumberParser

Show file Open project: 0xd4d/dnSpy Class Usage Examples

Public Methods

Method Description
TryParseByteArray ( string text ) : byte[]
TryParseSigned ( string s, long min, long max, long &value ) : bool
TryParseUnsigned ( string s, ulong min, ulong max, ulong &value ) : bool

Private Methods

Method Description
GetByteLength ( string pattern ) : int
HexToBin ( char c ) : int
SkipWhitespace ( string pattern, int index ) : int

Method Details

TryParseByteArray() public static method

public static TryParseByteArray ( string text ) : byte[]
text string
return byte[]

TryParseSigned() public static method

public static TryParseSigned ( string s, long min, long max, long &value ) : bool
s string
min long
max long
value long
return bool

TryParseUnsigned() public static method

public static TryParseUnsigned ( string s, ulong min, ulong max, ulong &value ) : bool
s string
min ulong
max ulong
value ulong
return bool