Public Member Functions | |
StreamIO (StorageIO *io, DirEntry *entry) | |
~StreamIO () | |
unsigned long | size () |
unsigned long | tell () |
int | getch () |
unsigned long | read (unsigned char *data, unsigned long maxlen) |
unsigned long | read (unsigned long pos, unsigned char *data, unsigned long maxlen) |
Public Attributes | |
StorageIO * | io |
DirEntry * | entry |
std::string | fullName |
bool | eof |
bool | fail |
Private Member Functions | |
StreamIO (const StreamIO &) | |
StreamIO & | operator= (const StreamIO &) |
void | updateCache () |
Private Attributes | |
std::vector< unsigned long > | blocks |
unsigned long | m_pos |
unsigned char * | cache_data |
unsigned long | cache_size |
unsigned long | cache_pos |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|