GBytes* g_bytes_new_with_free_func ( gconstpointer data, gsize size, GDestroyNotify free_func, gpointer user_data )
When the last reference is dropped,
free_func will be called with the
data must not be modified after this call is made until
been called to indicate that the bytes is no longer in use.
data may be
size is 0.
Type: An array of
the data to be used for the bytes.
The length of the array is specified in the
The size of
The function to call to release the data.
Data to pass to
The argument can be
The data is owned by the caller of the function.
|The caller of the function takes ownership of the data, and is responsible for freeing it.|