bigloo.foreign.charDigit2Val C# (CSharp) Method

charDigit2Val() private static method

private static charDigit2Val ( byte cn ) : int
cn byte
return int
        private static int charDigit2Val(byte cn)
        {
            if (((byte) '0' <= cn) && (cn <= (byte) '9'))
               return cn - (byte) '0';
            else if (cn <= (byte) 'Z')
               return cn - (byte) 'A';
            else
               return cn - (byte) 'a';
        }
foreign