FIFE
2008.0
|
#include <rawdatasource.h>
Public Member Functions | |
virtual uint32_t | getSize () const =0 |
virtual void | readInto (uint8_t *buffer, uint32_t start, uint32_t 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.
|
pure virtual |
get the complete datasize
Implemented in FIFE::RawDataMemSource, and FIFE::RawDataFile.
|
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::RawDataMemSource, and FIFE::RawDataFile.