Logo Search packages:      
Sourcecode: scummvm version File versions  Download package

uint32 File::read ( void *  dataPtr,
uint32  dataSize 
) [virtual]

Read data from the stream. Subclasses must implement this method; all other read methods are implemented using it.

dataPtr pointer to a buffer into which the data is read
dataSize number of bytes to be read
the number of bytes which were actually read.

Implements Common::ReadStream.

Definition at line 162 of file file.cpp.

References _handle, and Common::ReadStream::read().

      return _handle->read(ptr, len);

Generated by  Doxygen 1.6.0   Back to index