Apache Mesos
Classes | Namespaces | Macros | Functions
gzip.hpp File Reference
#include <zlib.h>
#include <string>
#include <stout/abort.hpp>
#include <stout/error.hpp>
#include <stout/os/strerror.hpp>
#include <stout/stringify.hpp>
#include <stout/try.hpp>

Go to the source code of this file.

Classes

class  gzip::internal::GzipError
 
class  gzip::Decompressor
 

Namespaces

 gzip
 
 gzip::internal
 

Macros

#define GZIP_BUFFER_SIZE   16384
 

Functions

Try< std::string > gzip::compress (const std::string &decompressed, int level=Z_DEFAULT_COMPRESSION)
 
Try< std::string > gzip::decompress (const std::string &compressed)
 

Macro Definition Documentation

#define GZIP_BUFFER_SIZE   16384