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 143 of file file.cpp.

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

Referenced by Common::MacResManager::getResource(), Tinsel::LoadFile(), Draci::Font::loadFont(), Cine::loadTextData(), Tinsel::PlayMidiSequence(), Tinsel::PrimeSceneHopper(), and Tinsel::SetupHandleTable().

      return _handle->read(ptr, len);

Generated by  Doxygen 1.6.0   Back to index