Files
int2ssl/Hacks/CArchive.h
T
2015-02-13 16:59:11 +03:00

29 lines
438 B
C++

#ifndef CARCHIVE_H
#define CARCHIVE_H
#include "../Hacks/Types.h"
#include "../Hacks/CFile.h"
class CArchive
{
protected:
CFile* _file = 0;
public:
static const unsigned int load = 1;
static const unsigned int store = 2;
CArchive(CFile* file, unsigned int mode);
void Flush();
CFile* GetFile();
void WriteString(const char * value);
ULONG Read(char * buffer, ULONG size);
};
#endif // CARCHIVE_H