Function physfs_sys::PHYSFS_readUBE32[][src]

pub unsafe extern "C" fn PHYSFS_readUBE32(
    file: *mut PHYSFS_File,
    val: *mut PHYSFS_uint32
) -> c_int
Expand description

\fn int PHYSFS_readUBE32(PHYSFS_File *file, PHYSFS_uint32 *val) \brief Read and convert an unsigned 32-bit bigendian value.

Convenience function. Read an unsigned 32-bit bigendian value from a file and convert it to the platform’s native byte order.

\param file PhysicsFS file handle from which to read. \param val pointer to where value should be stored. \return 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().