| 1 |
bearsoft |
1.1 |
#ifndef __BinaryTools_H__
|
| 2 |
|
|
#define __BinaryTools_H__
|
| 3 |
|
|
|
| 4 |
|
|
class BinaryTools
|
| 5 |
|
|
{
|
| 6 |
|
|
|
| 7 |
|
|
public:
|
| 8 |
|
|
BinaryTools();
|
| 9 |
|
|
~BinaryTools();
|
| 10 |
|
|
|
| 11 |
|
|
bool compareIntArray(int *source, int *source2, int sizeSource, int size2Source);
|
| 12 |
|
|
void copyIntArray(char *source, char *dest, int sourceSize);
|
| 13 |
|
|
int *addIntArrayToIntArray(int *source, int *source2, int sourceSize, int source2Size);
|
| 14 |
|
|
int *addIntValueToArray(int *source, int sourceSize, int value);
|
| 15 |
|
|
float *addFloatValueToArray(float *source, int sourceSize, float value);
|
| 16 |
|
|
|
| 17 |
|
|
private:
|
| 18 |
|
|
|
| 19 |
|
|
};
|
| 20 |
|
|
|
| 21 |
|
|
|
| 22 |
|
|
#endif
|