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:
dataPtr pointer to a buffer into which the data is read
dataSize number of bytes to be read
Returns:
the number of bytes which were actually read.

Implemented in Common::File, Common::IFFParser::IFFChunkNav, Common::SubReadStream, Common::BufferedReadStream, Common::MemoryReadStream, and Gob::SaveConverter.

Referenced by Agi::WagFileParser::checkWagVersion(), Graphics::SmackerDecoder::decodeNextFrame(), Gob::SaveConverter_v6::getDescription(), Gob::SaveConverter_v4::getDescription(), Gob::SaveConverter_v3::getDescription(), Gob::SaveConverter_v2::getDescription(), Graphics::PaletteLUT::load(), Audio::loadAIFFFromStream(), Graphics::SmackerDecoder::loadFile(), Kyra::Palette::loadVGAPalette(), Audio::loadWAVFromStream(), Audio::makeAIFFStream(), Audio::makeWAVStream(), Common::Serializer::matchBytes(), Agi::WagProperty::read(), Common::BufferedReadStream::read(), Common::SubReadStream::read(), Common::IFFParser::IFFChunkNav::read(), Common::File::read(), Gob::SavePartInfo::read(), Gob::SavePartSprite::read(), Gob::SavePartVars::read(), Gob::SavePartMem::read(), Audio::LinearDiskStream< stereo, is16Bit, isUnsigned, isLE >::readBuffer(), Common::ReadStream::readByte(), Common::ReadStream::readSByte(), Common::ReadStream::readStream(), Common::SaveFileManager::renameSavefile(), Cine::OSRenderer::restorePalette(), Cine::FWRenderer::restorePalette(), and Common::Serializer::syncBytes().


Generated by  Doxygen 1.6.0   Back to index