[][src]Function molconv::xdr::c_abi::xdrfile::xdrfile_read_uint

pub unsafe extern "C" fn xdrfile_read_uint(
    ptr: *mut c_uint,
    ndata: c_int,
    xfp: *mut XDRFILE
) -> c_int

\brief Read one or more \a unsigned \a integers type variable(s)

\param ptr Pointer to memory where data should be written \param ndata Number of unsigned integers to read \param xfp Handle to portable binary file, created with xdrfile_open()

\return Number of unsigned integers read

The integer data type is assumed to be less than or equal to 32 bits.

We do not provide any routines for reading/writing 64-bit integers, since

  • Not all XDR implementations support it
  • Not all machines have 64-bit integers

Split your 64-bit data into two 32-bit integers for portability!