| 52 | } |
| 53 | |
| 54 | int hex2int(const QString &str) { |
| 55 | return static_cast<int>(strtol(str.toStdString().c_str(), nullptr, 16)); |
| 56 | } |
| 57 | |
| 58 | QString int2hex(uint32_t a, uint8_t l) { |
| 59 | return QString::number(a, 16).rightJustified(l, '0', true).toUpper(); |
no outgoing calls
no test coverage detected