|
| virtual size_t | read (void *buffer, size_t size)=0 |
| | Reads from the input stream.
|
| virtual size_t | seek (size_t position)=0 |
| | Changes the current position the stream is reading.
|
| virtual size_t | tell ()=0 |
| virtual size_t | getSize ()=0 |
◆ getSize()
| virtual size_t mce::InputStream::getSize |
( |
| ) |
|
|
pure virtual |
◆ read()
| virtual size_t mce::InputStream::read |
( |
void * | buffer, |
|
|
size_t | size ) |
|
pure virtual |
Reads from the input stream.
- Parameters
-
| buffer | The buffer to read the bytes into |
| size | The amount of bytes to read |
- Returns
- The amount of bytes written
Implemented in mce::FileInputStream, and mce::MemoryInputStream.
◆ seek()
| virtual size_t mce::InputStream::seek |
( |
size_t | position | ) |
|
|
pure virtual |
Changes the current position the stream is reading.
- Parameters
-
| position | The position to seek the input stream to |
- Returns
- The position the input stream is at now
Implemented in mce::FileInputStream, and mce::MemoryInputStream.
◆ tell()
| virtual size_t mce::InputStream::tell |
( |
| ) |
|
|
pure virtual |
The documentation for this class was generated from the following files: