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.

ScBasicCommand.cpp 356B

12345678910111213141516171819202122
  1. //
  2. // Created by robin on 6/27/15.
  3. //
  4. #include <string>
  5. #include "libpcsc_cpptools/ScHex.h"
  6. #include "libpcsc_cpptools/ScBasicCommand.h"
  7. ScBasicCommand::ScBasicCommand(const std::string &data)
  8. {
  9. _data = ScHex::stringToByteArray(data);
  10. }
  11. ScBasicCommand::~ScBasicCommand()
  12. {
  13. }
  14. const std::string ScBasicCommand::getData() const
  15. {
  16. return _data;
  17. }