You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
427 B
C++

#ifndef WEBCC_ZLIB_WRAPPER_H_
#define WEBCC_ZLIB_WRAPPER_H_
#include <string>
namespace webcc {
// Compress the input string to gzip format output.
bool Compress(const std::string& input, std::string* output);
// Decompress the input string with auto detecting both gzip and zlib (deflate)
// formats.
bool Decompress(const std::string& input, std::string* output);
} // namespace webcc
#endif // WEBCC_ZLIB_WRAPPER_H_