Read and convert an unsigned 64-bit bigendian value.
Defined in <physfs.h>
int PHYSFS_readUBE64(PHYSFS_File *file, PHYSFS_uint64 *val);| PHYSFS_File * | file | PhysicsFS file handle from which to read. |
| PHYSFS_uint64 * | val | pointer to where value should be stored. |
(int) Returns zero on failure, non-zero on success. If successful,
*val will store the result. On failure, you can find out
what went wrong from PHYSFS_getLastErrorCode().
Convenience function. Read an unsigned 64-bit bigendian value from a file and convert it to the platform's native byte order.
WARNING: Remember, PHYSFS_uint64 is only 32 bits on platforms without any sort of 64-bit support.
Multiple threads can not operate on the same PHYSFS_File at the same time, but they can safely operate on different ones simultaneously.
This function is available since PhysicsFS 1.0.0.