Function gnunet_sys::GNUNET_BIO_read_spec_object[][src]

pub unsafe extern "C" fn GNUNET_BIO_read_spec_object(
    what: *const c_char,
    result: *mut c_void,
    size: usize
) -> GNUNET_BIO_ReadSpec

Create the specification to read a certain amount of bytes.

@param what describes what is being read (for error message creation) @param result the buffer to write the result to @param len the number of bytes to read @return the read spec