#include <FileReader.hxx>
Definition at line 39 of file FileReader.hxx.
◆ FileReader() [1/2]
| FileReader::FileReader |
( |
Path |
_path | ) |
|
|
explicit |
◆ FileReader() [2/2]
◆ ~FileReader()
| FileReader::~FileReader |
( |
| ) |
|
|
inline |
◆ Close()
| void FileReader::Close |
( |
| ) |
|
◆ GetFD()
◆ GetFileInfo()
| FileInfo FileReader::GetFileInfo |
( |
| ) |
const |
◆ GetPosition()
| gcc_pure uint64_t FileReader::GetPosition |
( |
| ) |
const |
|
inlinenoexcept |
◆ GetSize()
| gcc_pure uint64_t FileReader::GetSize |
( |
| ) |
const |
|
inlinenoexcept |
◆ IsDefined()
| bool FileReader::IsDefined |
( |
| ) |
const |
|
inlineprotected |
◆ Read()
| size_t FileReader::Read |
( |
void * |
data, |
|
|
size_t |
size |
|
) |
| |
|
overridevirtual |
Read data from the stream.
- Returns
- the number of bytes read into the given buffer or 0 on end-of-stream
Implements Reader.
◆ Rewind()
| void FileReader::Rewind |
( |
| ) |
|
|
inline |
◆ Seek()
| void FileReader::Seek |
( |
off_t |
offset | ) |
|
◆ Skip()
| void FileReader::Skip |
( |
off_t |
offset | ) |
|
The documentation for this class was generated from the following file: