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.

20 lines
441 B
C++

#ifndef WEBCC_GZIP_H_
#define WEBCC_GZIP_H_
#include <string>
namespace webcc {
namespace gzip {
// 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 gzip
} // namespace webcc
#endif // WEBCC_GZIP_H_