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.

Parameters:
dataPtrpointer to a buffer into which the data is read
dataSizenumber of bytes to be read
Returns:
the number of bytes which were actually read.

Implemented in DS::DSFileStream, PSPIoStream, StdioStream, SymbianStdioStream, InVMSave, GBAMPSaveFile, DSSaveFile, Common::File, Common::IFFParser::IFFChunkNav, Common::SubReadStream, Common::BufferedReadStream, Common::MemoryReadStream, Common::ArjFile, Gob::DataStream, Gob::SaveConverter, LzssReadStream, Parallaction::PowerPackerStream, Scumm::ScummFile, Scumm::ScummDiskImage, Scumm::ScummNESFile, Sword2::SafeSubReadStream, and Graphics::PackBitsReadStream.

Referenced by Agi::WagFileParser::checkWagVersion(), Graphics::SmackerDecoder::decodeNextFrame(), Graphics::FlicDecoder::decodeNextFrame(), Graphics::DXADecoder::decodeNextFrame(), Gob::SaveConverter_v6::getDescription(), Gob::SaveConverter_v4::getDescription(), Gob::SaveConverter_v3::getDescription(), Gob::SaveConverter_v2::getDescription(), Graphics::Vmd::getExtraData(), Sword2::Sword2Engine::getSaveDescription(), Sword2MetaEngine::listSaves(), QueenMetaEngine::listSaves(), TinselMetaEngine::listSaves(), SwordMetaEngine::listSaves(), SkyMetaEngine::listSaves(), SagaMetaEngine::listSaves(), CineMetaEngine::listSaves(), AgiMetaEngine::listSaves(), Graphics::Vmd::load(), Graphics::Imd::load(), Graphics::PaletteLUT::load(), Audio::loadAIFFFromStream(), Graphics::PBMDecoder::loadBitmap(), Graphics::SmackerDecoder::loadFile(), Queen::QueenEngine::loadGameState(), Kyra::KyraEngine_LoK::loadGameState(), Gob::Script::loadTOT(), Kyra::Palette::loadVGAPalette(), Audio::loadWAVFromStream(), Audio::makeAIFFStream(), Audio::makeWAVStream(), Common::Serializer::matchBytes(), SwordMetaEngine::querySaveMetaInfos(), SagaMetaEngine::querySaveMetaInfos(), AgiMetaEngine::querySaveMetaInfos(), Agi::WagProperty::read(), Common::ArjFile::read(), Common::BufferedReadStream::read(), Common::SubReadStream::read(), Common::IFFParser::IFFChunkNav::read(), Gob::SavePartInfo::read(), Gob::SavePartSprite::read(), Gob::SavePartVars::read(), Gob::SavePartMem::read(), Sword1::BaseAudioStream::readBuffer(), Common::ReadStream::readByte(), Common::ReadStream::readSByte(), Common::ReadStream::readStream(), SkyMetaEngine::removeSaveState(), CineMetaEngine::removeSaveState(), Common::SaveFileManager::renameSavefile(), Cine::OSRenderer::restorePalette(), Cine::FWRenderer::restorePalette(), and Common::Serializer::syncBytes().


Generated by  Doxygen 1.6.0   Back to index