Wittyshare  0.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
WsDecompressor.h
Go to the documentation of this file.
1 /*
2  *
3  * Filename: WsDecompressor.h
4  *
5  * Description:
6  *
7  * Created: 07/25/2012 09:29:01 AM
8  *
9  * Author: Benoit Daccache, ben.daccache@gmail.com
10  *
11  */
12 
13 #ifndef WS_DECOMPRESSOR_H__
14 #define WS_DECOMPRESSOR_H__
15 
16 #include <iostream>
17 
25 public:
26 
33  long decompress(const char* data, size_t size, std::string& uncompressedData);
34 
35 };
36 
37 #endif
38 
Used to decompress data.
long decompress(const char *data, size_t size, std::string &uncompressedData)
decompress the input data and store result in uncompressedData