19 lines
376 B
C++
19 lines
376 B
C++
#ifndef LOADER_H
|
|
#define LOADER_H
|
|
#include <string>
|
|
|
|
class Loader
|
|
{
|
|
public:
|
|
Loader();
|
|
// Prebere niz dolžine len
|
|
std::string readString(string &r, int len);
|
|
|
|
// Prebere en bajt (2 heksadecimalni znaka)
|
|
int readByte(std::string &r);
|
|
|
|
// Prebere eno "besedo" (3 bajte = 6 heksadecimalnih znakov)
|
|
int readWord(std::string &r);
|
|
};
|
|
|
|
#endif // LOADER_H
|