#include <BufferedReader.hxx>
Definition at line 31 of file BufferedReader.hxx.
◆ BufferedReader()
BufferedReader::BufferedReader |
( |
Reader & |
_reader | ) |
|
|
inlineexplicit |
◆ Consume()
void BufferedReader::Consume |
( |
size_t |
n | ) |
|
|
inlinenoexcept |
◆ Fill()
bool BufferedReader::Fill |
( |
bool |
need_more | ) |
|
◆ GetLineNumber()
unsigned BufferedReader::GetLineNumber |
( |
| ) |
const |
|
inlinenoexcept |
◆ Read()
◆ ReadFromBuffer()
Read (and consume) data from the input buffer into the given buffer.
Does not attempt to refill the buffer.
◆ ReadFull() [1/2]
void* BufferedReader::ReadFull |
( |
size_t |
size | ) |
|
Read a buffer of exactly the given size (without consuming it).
Throws std::runtime_error if not enough data is available.
◆ ReadFull() [2/2]
Read data into the given buffer and consume it from our buffer.
Throw an exception if the request cannot be forfilled.
◆ ReadLine()
char* BufferedReader::ReadLine |
( |
| ) |
|
◆ Reset()
void BufferedReader::Reset |
( |
| ) |
|
|
inlinenoexcept |
Reset the internal state.
Should be called after rewinding the underlying Reader.
Definition at line 50 of file BufferedReader.hxx.
The documentation for this class was generated from the following file: