18 lines
540 B
C++
18 lines
540 B
C++
#ifndef GZIPUTILS_HPP
|
|
#define GZIPUTILS_HPP
|
|
|
|
class GzipUtils{
|
|
|
|
public:
|
|
|
|
static unsigned char* compressData(const unsigned char* data, unsigned long dataLength, unsigned long* resultLength);
|
|
|
|
static unsigned char* decompressData(const unsigned char* data, unsigned long dataLength, unsigned long* resultLength);
|
|
|
|
static int decompressData(const unsigned char* data, unsigned long dataLength, unsigned char* resultBuffer, unsigned long resultBufferSize, unsigned long* resultLength);
|
|
|
|
|
|
};
|
|
|
|
#endif // GZIPUTILS_HPP
|