The byte buffer which will be used to store the data read from the file. If the buffer is null, it will be allocated. If it is too small to hold objSize * objCount bytes, it will be extended.
The number of bytes to read at a time.
The number of times to read objSize bytes.
The total number of bytes read. Note that this differs from PHYSFS_read, which returns the number of objects read.
DefileException if an error occurs.
A wrapper for PHYSFS_read.
Reads data from a file. Note that the file must have been opened with the OpenFor.Read flag set. See the documentation for PHYSFS_read for details.