You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

ScHex.h 473B

1234567891011121314151617181920212223
  1. //
  2. // Created by robin on 6/29/15.
  3. //
  4. #ifndef PCSC_CPPTOOLS_SCHEX_H
  5. # define PCSC_CPPTOOLS_SCHEX_H
  6. # include <string>
  7. class ScHex
  8. {
  9. public:
  10. static const char hexCharToInt(const char& c);
  11. static const std::string intToHexChar(const char& c);
  12. static const std::string byteArrayToString(const std::string& bytes, const std::string& separator = " ");
  13. static const std::string stringToByteArray(const std::string& str);
  14. };
  15. #endif //PCSC_CPPTOOLS_SCHEX_H