Guitar
Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
gzip Class Reference

#include <gzip.h>

Collaboration diagram for gzip:
Collaboration graph
[legend]

Public Member Functions

void set_header_only (bool f)
 
void set_maximul_size (int64_t size)
 
bool decompress (AbstractSimpleReader *input, AbstractSimpleWriter *output)
 
std::string error () const
 

Static Public Member Functions

static bool is_valid_gz_file (AbstractSimpleReader *input)
 

Private Attributes

std::string error_
 
bool header_only_ = false
 
int64_t max_size_ = -1
 

Member Function Documentation

◆ decompress()

bool gzip::decompress ( AbstractSimpleReader input,
AbstractSimpleWriter output 
)
Here is the call graph for this function:

◆ error()

std::string gzip::error ( ) const
inline

◆ is_valid_gz_file()

bool gzip::is_valid_gz_file ( AbstractSimpleReader input)
static
Here is the call graph for this function:

◆ set_header_only()

void gzip::set_header_only ( bool  f)

◆ set_maximul_size()

void gzip::set_maximul_size ( int64_t  size)

Member Data Documentation

◆ error_

std::string gzip::error_
private

◆ header_only_

bool gzip::header_only_ = false
private

◆ max_size_

int64_t gzip::max_size_ = -1
private

The documentation for this class was generated from the following files: