| 123456789101112131415161718 | //
// Created by robin on 6/27/15.
//
#include "ScCommand.h"
ScCommand::~ScCommand()
{
}
int ScCommand::hexToDec(const char c)
{
    if (c >= 'a')
        return 10 + (c - ('a' - 'A')) - 'A';
    if (c >= 'A')
        return 10 + c - 'A';
    return c - '0';
}
 |