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

Options for the ZlibBufferReader constructor. More...

#include <ZlibBufferReader.hpp>

Public Attributes

int mode = 3
 
std::size_t buffer_size = 65536
 

Detailed Description

Options for the ZlibBufferReader constructor.

Member Data Documentation

◆ buffer_size

std::size_t byteme::ZlibBufferReaderOptions::buffer_size = 65536

Size of the buffer to use when reading from disk. Larger values usually reduce computational time at the cost of increased memory usage.

◆ mode

int byteme::ZlibBufferReaderOptions::mode = 3

Compression of the stream - DEFLATE (0), Zlib (1) or Gzip (2). Default of 3 will auto-detect between Zlib and Gzip based on the headers.


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