- Brief Description:\n Reads data from a G-PAK file.
This function reads _elemCount elements of size _elemSize from the specified G-PAK file into the provided _buffer.
- Parameters
-
_buffer | A pointer to the buffer where the data will be stored. |
_elemSize | The size of each element to read. |
_elemCount | The number of elements to read. |
_file | A pointer to the gpak_file_t. |
- Returns
- The number of elements successfully read.
Definition at line 450 of file gpak.c.
452 return fread(_buffer, _elemSize, _elemCount, _file->
stream_);
References gpak_file::stream_.