#include <genesis/utils/io/input_buffer.hpp>
Definition at line 49 of file input_buffer.hpp.
Public Member Functions | |
| InputBuffer () | |
| InputBuffer (self_type &&other) | |
| InputBuffer (self_type const &)=delete | |
| InputBuffer (std::shared_ptr< BaseInputSource > input_source) | |
| ~InputBuffer () | |
| operator bool () const | |
| self_type & | operator= (self_type &&other) |
| self_type & | operator= (self_type const &)=delete |
| char | peek (size_t ahead=1) |
| size_t | read (char *target, size_t size) |
Public Types | |
| using | self_type = InputBuffer |
| using | value_type = char |
Static Public Attributes | |
| static const size_t | BlockLength = 1 << 22 |
| Block length for internal buffering. More... | |
|
inline |
Definition at line 71 of file input_buffer.hpp.
|
inlineexplicit |
Definition at line 78 of file input_buffer.hpp.
|
inline |
Definition at line 83 of file input_buffer.hpp.
|
delete |
|
inline |
Definition at line 91 of file input_buffer.hpp.
|
inline |
Definition at line 130 of file input_buffer.hpp.
Definition at line 99 of file input_buffer.hpp.
|
inline |
Definition at line 135 of file input_buffer.hpp.
|
inline |
Definition at line 165 of file input_buffer.hpp.
| using self_type = InputBuffer |
Definition at line 64 of file input_buffer.hpp.
| using value_type = char |
Definition at line 65 of file input_buffer.hpp.
|
static |
Block length for internal buffering.
The buffer uses three blocks of this size (4MB each).
Definition at line 62 of file input_buffer.hpp.