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

void FileWriter::WriteWord ( uint16_t  data )

Write a word (2 bytes) to the stream in little endian.

Parameters:
datathe word to write

Definition at line 118 of file io.cpp.

References WriteByte().

Referenced by WriteDword(), and Sample::WriteSample().

{
      this->WriteByte(data & 0xFF);
      this->WriteByte(data >> 8);
}

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