byteme
C++ wrappers for buffered inputs
Loading...
Searching...
No Matches
byteme::GzipFileWriterOptions Struct Reference

Options for GzipFileWriter construction. More...

#include <GzipFileWriter.hpp>

Public Attributes

int compression_level = 6
 
std::optional< unsigned > gzbuffer_size
 

Detailed Description

Options for GzipFileWriter construction.

Member Data Documentation

◆ compression_level

int byteme::GzipFileWriterOptions::compression_level = 6

Gzip compression level, from 1 to 9. Larger values improve compression efficiency at the cost of some computational work.

◆ gzbuffer_size

std::optional<unsigned> byteme::GzipFileWriterOptions::gzbuffer_size

Size of the internal buffer used by Zlib. Larger values usually reduce computational time at the cost of increased memory usage. If no value is supplied, the default buffer size for gzbuffer() is not changed.


The documentation for this struct was generated from the following file: