|
FIFE
|
#include <zipfilesource.h>
Inheritance diagram for FIFE::ZipFileSource:
Collaboration diagram for FIFE::ZipFileSource:Public Member Functions | |
| ZipFileSource (uint8_t *data, uint32_t datalen) | |
| virtual | ~ZipFileSource () |
| virtual uint32_t | getSize () const |
| get the complete datasize More... | |
| virtual void | readInto (uint8_t *target, uint32_t start, uint32_t len) |
| read data from the source More... | |
Public Member Functions inherited from FIFE::RawDataSource | |
| RawDataSource () | |
| virtual | ~RawDataSource () |
Private Attributes | |
| uint8_t * | m_data |
| uint32_t | m_datalen |
Definition at line 29 of file zipfilesource.h.
| FIFE::ZipFileSource::ZipFileSource | ( | uint8_t * | data, |
| uint32_t | datalen | ||
| ) |
Definition at line 36 of file zipfilesource.cpp.
|
virtual |
Definition at line 39 of file zipfilesource.cpp.
References m_data.
|
virtual |
get the complete datasize
Implements FIFE::RawDataSource.
Definition at line 43 of file zipfilesource.cpp.
References m_datalen.
|
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 47 of file zipfilesource.cpp.
|
private |
Definition at line 38 of file zipfilesource.h.
Referenced by readInto(), and ~ZipFileSource().
|
private |
Definition at line 39 of file zipfilesource.h.
Referenced by getSize(), and readInto().