Creates a glib.Bytes from data.
When the last reference is dropped, free_func will be called with the user_data argument.
data must not be modified after this call is made until free_func has been called to indicate that the bytes is no longer in use.
data may be NULL if size is 0.
the data to be used for the bytes
the function to call to release the data
data to pass to free_func
a new glib.Bytes
ConstructionException GTK+ fails to create the object.
2.32
Creates a glib.Bytes from data.
When the last reference is dropped, free_func will be called with the user_data argument.
data must not be modified after this call is made until free_func has been called to indicate that the bytes is no longer in use.
data may be NULL if size is 0.