Function gnunet_sys::GNUNET_buffer_write[][src]

pub unsafe extern "C" fn GNUNET_buffer_write(
    buf: *mut GNUNET_Buffer,
    data: *const c_char,
    len: usize
)

Write bytes to the buffer.

Grows the buffer if necessary.

@param buf buffer to write to @param data data to read from @param len number of bytes to copy from @a data to @a buf