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

Sample::Sample ( FileReader reader )

Create a new sample by reading data from a file. In this case the data comes from a cat file, so for now we only read the offset and size from the file.

readerthe file to read from

Definition at line 82 of file sample.cpp.

References offset, FileReader::ReadDword(), and size.

      this->offset = reader.ReadDword() & 0x7FFFFFFF;
      this->size   = reader.ReadDword();

Here is the call graph for this function:

Generated by  Doxygen 1.6.0   Back to index