C# Class Utility.BaseTypes.Numeric

Show file Open project: aistrate/RegexParser

Public Methods

Method Description
ReadDec ( IEnumerable digits ) : int
ReadHex ( IEnumerable digits ) : int
ReadInt ( IEnumerable digits, int numBase ) : int
ReadOct ( IEnumerable digits ) : int

Private Methods

Method Description
valDigit ( char d ) : int

Method Details

ReadDec() public static method

public static ReadDec ( IEnumerable digits ) : int
digits IEnumerable
return int

ReadHex() public static method

public static ReadHex ( IEnumerable digits ) : int
digits IEnumerable
return int

ReadInt() public static method

public static ReadInt ( IEnumerable digits, int numBase ) : int
digits IEnumerable
numBase int
return int

ReadOct() public static method

public static ReadOct ( IEnumerable digits ) : int
digits IEnumerable
return int