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

virtual uint32 Common::WriteStream::write ( const void *  dataPtr,
uint32  dataSize 
) [pure virtual]

Write data into the stream. Subclasses must implement this method; all other write methods are implemented using it.

dataPtr pointer to the data to be written
dataSize number of bytes to be written
the number of bytes which were actually written.

Implemented in Common::DumpFile, Common::MemoryWriteStream, and Common::MemoryWriteStreamDynamic.

Referenced by Common::Serializer::matchBytes(), Common::SaveFileManager::renameSavefile(), Graphics::PaletteLUT::save(), Cine::OSRenderer::savePalette(), Cine::FWRenderer::savePalette(), Common::Serializer::syncBytes(), Common::DumpFile::write(), Gob::SavePartInfo::write(), Gob::SavePartSprite::write(), Gob::SavePartVars::write(), Gob::SavePartMem::write(), and writeString().

Generated by  Doxygen 1.6.0   Back to index