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

uint16_t FileReader::ReadWord (  )

Read a word (2 bytes) from the stream in little endian.

Returns:
the read word

Definition at line 48 of file io.cpp.

References ReadByte().

Referenced by ReadDword(), and Sample::ReadSample().

{
      uint16_t b = this->ReadByte();
      return (this->ReadByte() << 8) | b;
}

Here is the call graph for this function:

Here is the caller graph for this function:


Generated by  Doxygen 1.6.0   Back to index