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

uint16 Common::ReadStream::readUint16LE (  )  [inline, inherited]

Read an unsigned 16-bit word stored in little endian (LSB 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 208 of file stream.h.

References Common::ReadStream::read().

Referenced by Graphics::FlicDecoder::decodeNextFrame(), Sci::SeqDecoder::decodeNextFrame(), Graphics::FlicDecoder::loadFile(), Sci::SeqDecoder::loadFile(), Agi::WagProperty::read(), and Common::ReadStream::readSint16LE().

                            {
            uint16 val;
            read(&val, 2);
            return FROM_LE_16(val);
      }


Generated by  Doxygen 1.6.0   Back to index