|
byteme
Read/write bytes from various sources
|
Options for the ZlibBufferReader constructor.
More...
#include <ZlibBufferReader.hpp>
Public Attributes | |
| std::optional< ZlibCompressionMode > | mode |
| std::size_t | buffer_size = sanisizer::cap<std::size_t>(65536) |
Options for the ZlibBufferReader constructor.
| std::size_t byteme::ZlibBufferReaderOptions::buffer_size = sanisizer::cap<std::size_t>(65536) |
Size of the buffer to use when reading from disk. Larger values usually reduce computational time at the cost of increased memory usage.
| std::optional<ZlibCompressionMode> byteme::ZlibBufferReaderOptions::mode |
Compression mode of the stream. If unset, the function will auto-detect the format, choosing between ZLIB and GZIP based on the headers.