Logo Search packages:      
Sourcecode: scummvm version File versions

int16 Common::ReadStream::readSint16LE (  )  [inline, inherited]

Read a signed 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 276 of file stream.h.

References Common::ReadStream::readUint16LE().

Referenced by Gob::Imd::load().

            return (int16)readUint16LE();

Generated by  Doxygen 1.6.0   Back to index