![]() |
NDEVR
API Documentation
|
Abstract base class for sequential byte stream reading. More...
Public Member Functions | |
| virtual bool | eof () const =0 |
| Checks whether the end of the stream has been reached. | |
| virtual bool | read_exact (u8 *dst, size_t n)=0 |
| Reads exactly n bytes into the destination buffer. | |
|
pure virtual |
Checks whether the end of the stream has been reached.
Implemented in TAR::FileReader, and TAR::GzReader.
|
pure virtual |
Reads exactly n bytes into the destination buffer.
| [in] | dst | Pointer to the destination buffer. |
| [in] | n | Number of bytes to read. |
Implemented in TAR::FileReader, and TAR::GzReader.
Referenced by TAR::read_block(), and TAR::skip_bytes().