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

Options for the RawFileReader constructor. More...

#include <RawFileReader.hpp>

Public Attributes

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

Detailed Description

Options for the RawFileReader constructor.

Member Data Documentation

◆ buffer_size

std::size_t byteme::RawFileReaderOptions::buffer_size = 65536

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

◆ bufsiz

std::optional<unsigned> byteme::RawFileReaderOptions::bufsiz

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


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