BaseNcoding.BaseBigN.CharsToBits C# (CSharp) Method

CharsToBits() private method

private CharsToBits ( string data, int ind, int count ) : System.Numerics.BigInteger
data string
ind int
count int
return System.Numerics.BigInteger
        private BigInteger CharsToBits(string data, int ind, int count)
        {
            BigInteger result = 0;
            for (int i = 0; i < count; i++)
                result += InvAlphabet[data[ind + (!ReverseOrder ? i : count - 1 - i)]] * _powN[_powN.Length - 1 - i];
            return result;
        }