Function gnunet_sys::GNUNET_buffer_ensure_remaining[][src]

pub unsafe extern "C" fn GNUNET_buffer_ensure_remaining(
    buf: *mut GNUNET_Buffer,
    n: usize
)

Make sure that at least @a n bytes remaining in the buffer.

@param buf buffer to potentially grow @param n number of bytes that should be available to write