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

uint32 Common::ReadStream::readUint32BE (  )  [inline, inherited]

Read an unsigned 32-bit word stored in big endian (MSB first) order from the stream and return it. Performs no error checking. The return value is undefined if a read error occurred (for which client code can check by calling err() and eos() ).

Definition at line 254 of file stream.h.

References Common::ReadStream::readUint16BE().

Referenced by Graphics::PaletteLUT::load(), Audio::loadAIFFFromStream(), Graphics::SmackerDecoder::loadFile(), Gob::SaveHeader::read(), Common::ReadStream::readSint32BE(), Gob::SaveHeader::verify(), and Gob::SaveHeader::verifyReadSize().

            uint32 b = readUint16BE();
            uint32 a = readUint16BE();
            return (b << 16) | a;

Generated by  Doxygen 1.6.0   Back to index