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

virtual uint32 Common::ReadStream::read ( void *  dataPtr,
uint32  dataSize 
) [pure virtual, inherited]

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.

Implemented in Common::SubReadStream, and Common::MemoryReadStream.

Referenced by Agi::WagFileParser::checkWagVersion(), Gob::Imd::load(), Agi::WagProperty::read(), Common::SubReadStream::read(), Common::ReadStream::readByte(), Common::ReadStream::readSByte(), Common::ReadStream::readStream(), and Common::SaveFileManager::renameSavefile().

Generated by  Doxygen 1.6.0   Back to index