FIFE
2008.0
|
#include <rawdatafile.h>
Public Member Functions | |
RawDataFile (const std::string &file) | |
virtual uint32_t | getSize () const |
virtual void | readInto (uint8_t *buffer, uint32_t start, uint32_t length) |
A RawDataSource for a file on the host system
Definition at line 43 of file rawdatafile.h.
FIFE::RawDataFile::RawDataFile | ( | const std::string & | file) |
Constructor Constructs a RawDataSource for file.
file | The path to the file to load. |
CannotOpenFile |
Definition at line 36 of file rawdatafile.cpp.
|
virtual |
get the complete datasize
Implements FIFE::RawDataSource.
Definition at line 50 of file rawdatafile.cpp.
|
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 |
Implements FIFE::RawDataSource.
Definition at line 54 of file rawdatafile.cpp.