56 unsigned long long tell();
unsigned long long tell()
get current position
static const char * memorySrc
if you use open(const* char) and the pointer is memorySrcName then no file will be read but this poin...
Definition: ecwmemfs.hh:62
~MemoryFileSystem()
call close
Definition: ecwmemfs.hh:35
m_Error
Definition: ecwmemfs.hh:32
m_Error close()
close and deinitialise (delete only my own data)
static r_Bytes memorySrcLength
the length of the memorySrc chunk must be specified in memoryLength
Definition: ecwmemfs.hh:68
static const char * memorySrcName
file names which point to this will not read from file system but from memorySrc
Definition: ecwmemfs.hh:65
m_Error read(void *buffer, r_Bytes bSize)
read bSize bytes into buffer, only if bSize bytes are available
Definition: ecwmemfs.hh:29
m_Error open(const char *fileName)
open file an read into memory - completely
unsigned int r_Bytes
Definition: mddtypes.hh:56
Definition: ecwmemfs.hh:34
m_Error seek(unsigned long long offset)
go to offset bytes from begining of memory