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.

123456789101112131415161718192021222324252627282930313233
  1. //
  2. // Created by robin on 6/27/15.
  3. //
  4. #ifndef LIBPCSC_CPPTOOLS_SCBYTEARRAY_H
  5. # define LIBPCSC_CPPTOOLS_SCBYTEARRAY_H
  6. # include <winscard.h>
  7. class ScByteArray {
  8. public:
  9. inline ScByteArray();
  10. inline ScByteArray(BYTE* const data, const DWORD size);
  11. inline ScByteArray(const ScByteArray& data);
  12. inline ~ScByteArray();
  13. inline DWORD getSize() const;
  14. inline BYTE* getData() const;
  15. private:
  16. DWORD _size;
  17. BYTE* _data;
  18. };
  19. # include "ScByteArray.hxx"
  20. #endif //LIBPCSC_CPPTOOLS_SCBYTEARRAY_H