C# Class IntXLib.Pow2Parser

Provides special fast (with linear time) parsing if base is pow of 2.
Inheritance: IParser
Afficher le fichier Open project: devoyster/IntXLib Class Usage Examples

Méthodes publiques

Méthode Description
Parse ( string value, uint numberBase, uint>.IDictionary charToDigits, bool checkFormat ) : IntX
Parse ( string value, int startIndex, int endIndex, uint numberBase, uint>.IDictionary charToDigits, uint digitsRes ) : uint

Parses provided string representation of IntX object.

Method Details

Parse() public méthode

public Parse ( string value, uint numberBase, uint>.IDictionary charToDigits, bool checkFormat ) : IntX
value string
numberBase uint
charToDigits uint>.IDictionary
checkFormat bool
Résultat IntX

Parse() public méthode

Parses provided string representation of IntX object.
public Parse ( string value, int startIndex, int endIndex, uint numberBase, uint>.IDictionary charToDigits, uint digitsRes ) : uint
value string Number as string.
startIndex int Index inside string from which to start.
endIndex int Index inside string on which to end.
numberBase uint Number base.
charToDigits uint>.IDictionary Char->digit dictionary.
digitsRes uint Resulting digits.
Résultat uint