123456789101112131415161718192021222324 |
- //
- // Created by robin on 6/29/15.
- //
-
- #ifndef PCSC_CPPTOOLS_SCHEX_H
- # define PCSC_CPPTOOLS_SCHEX_H
-
- # include <string>
- #include "ScByteArray.h"
-
- class ScHex
- {
- public:
- static char hexCharToInt(const char& c);
-
- static std::string intToHexChar(const char& c);
-
- static std::string byteArrayToString(const ScByteArray& bytes, const std::string& separator = " ");
-
- static ScByteArray stringToByteArray(const std::string& str);
-
- };
-
- #endif //PCSC_CPPTOOLS_SCHEX_H
|