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

Options for GzipFileReader construction. More...

#include <GzipFileReader.hpp>

Public Attributes

std::size_t buffer_size = 65536
 
std::optional< unsigned > gzbuffer_size
 

Detailed Description

Options for GzipFileReader construction.

Member Data Documentation

◆ buffer_size

std::size_t byteme::GzipFileReaderOptions::buffer_size = 65536

Size of the buffer in which to store the decompressed data. Larger values usually reduce computational time at the cost of increased memory usage.

◆ gzbuffer_size

std::optional<unsigned> byteme::GzipFileReaderOptions::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: