Otherwise this function will internally create a copy of the memory since GLib 2.56, or in older versions fail and exit the process.
If data is empty or corrupt, gio.types.ResourceError.Internal will be returned.
Parameters
data | A #GBytes |
Returns
a new #GResource, or null on error