dc_iostream_get_available

Function dc_iostream_get_available 

Source
pub unsafe extern "C" fn dc_iostream_get_available(
    iostream: *mut dc_iostream_t,
    value: *mut usize,
) -> dc_status_t
Expand description

Query the number of available bytes in the input buffer.

@param[in] iostream A valid I/O stream. @param[out] value A location to store the number of bytes in the input buffer. @returns #DC_STATUS_SUCCESS on success, or another #dc_status_t code on failure.