#include <rawdatasource.h>

Public Member Functions | |
| virtual unsigned int | getSize () const =0 |
| virtual void | readInto (uint8_t *buffer, unsigned int start, unsigned int length)=0 |
Abstract baseclass - provides data for RawData
RawData uses RawDataSources to access the data - if you want to add support for a new archivetype this is one of the classes you need.
Definition at line 44 of file rawdatasource.h.
| virtual unsigned int FIFE::RawDataSource::getSize | ( | ) | const [pure virtual] |
get the complete datasize
Implemented in FIFE::RawDataFile, and FIFE::RawDataMemSource.
Referenced by FIFE::RawData::getDataLength().

| virtual void FIFE::RawDataSource::readInto | ( | uint8_t * | buffer, | |
| unsigned int | start, | |||
| unsigned int | length | |||
| ) | [pure virtual] |
read data from the source
| buffer | the data will be written into buffer | |
| start | the startindex inside the source | |
| length | length bytes will be written into buffer |
Implemented in FIFE::RawDataFile, and FIFE::RawDataMemSource.
Referenced by FIFE::RawData::read(), and FIFE::RawData::readInto().

1.7.1