HexTool/data.h
2018-04-02 19:35:58 +08:00

23 lines
335 B
C++

#ifndef DATA_H
#define DATA_H
#include <QString>
class Data
{
public:
enum format { seq, space, prefix };
Data(QString &in);
Data(int len);
void clean();
void to_hex();
QString get_ascii();
QString get(int unit, enum format fmt);
private:
QString txt;
};
#endif // DATA_H