Function gnunet_sys::GNUNET_buffer_clear[][src]

pub unsafe extern "C" fn GNUNET_buffer_clear(buf: *mut GNUNET_Buffer)

Free the backing memory of the given buffer. Does not free the memory of the buffer control structure, which is typically stack-allocated.