dc_iostream_write

Function dc_iostream_write 

Source
pub unsafe extern "C" fn dc_iostream_write(
    iostream: *mut dc_iostream_t,
    data: *const c_void,
    size: usize,
    actual: *mut usize,
) -> dc_status_t
Expand description

Write data to the I/O stream.

@param[in] iostream A valid I/O stream. @param[in] data The memory buffer to write the data from. @param[in] size The number of bytes to write. @param[out] actual An (optional) location to store the actual number of bytes transferred. @returns #DC_STATUS_SUCCESS on success, or another #dc_status_t code on failure.