1 |
#ifndef __FileTools_H__
|
2 |
#define __FileTools_H__
|
3 |
|
4 |
class FileTools
|
5 |
{
|
6 |
|
7 |
public:
|
8 |
|
9 |
FileTools::FileTools();
|
10 |
FileTools::~FileTools();
|
11 |
|
12 |
//int readFile(char *fileName, int *fileBuffer, int *fileSize);
|
13 |
int readStringFile(char *fileName, int *fileBuffer, int *fileSize);
|
14 |
int writeFile(char *fileName, char *fileBuffer, int fileSize);
|
15 |
int writeToFileEnd(char *fileName, char *fileBuffer, int fileSize);
|
16 |
int writeFile(char* fileName, char *fileBuffer, int fileSize, char *type);
|
17 |
};
|
18 |
|
19 |
#endif |