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
20 lines
441 B
C
![]()
6 years ago
|
#ifndef WEBCC_GZIP_H_
|
||
|
#define WEBCC_GZIP_H_
|
||
![]()
6 years ago
|
|
||
|
#include <string>
|
||
|
|
||
|
namespace webcc {
|
||
![]()
6 years ago
|
namespace gzip {
|
||
![]()
6 years ago
|
|
||
![]()
6 years ago
|
// 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);
|
||
![]()
6 years ago
|
|
||
![]()
6 years ago
|
} // namespace gzip
|
||
![]()
6 years ago
|
} // namespace webcc
|
||
|
|
||
![]()
6 years ago
|
#endif // WEBCC_GZIP_H_
|