OpenTween.RadixConvert.ToUInt32 C# (CSharp) Method

ToUInt32() public static method

3~36進数の数値文字列をUInt32型の数値に変換します。
※2/8/10/16進数は、Convert.ToUInt32メソッドを使ってください。 ※+や-の符号や0xなどのプレフィックスには対応していません。 ※引数となる数値文字列に、スペースなどの文字を含めないでください。
public static ToUInt32 ( string s, int radix ) : uint
s string 数値文字列
radix int 基数
return uint
        public static uint ToUInt32(string s, int radix)
        {
            var digit = ToUInt64(s, radix);
            CheckDigitOverflow(digit, UInt32.MaxValue);
            return (uint)digit;
        }