fun newFromData(data: <Error class: unknown class>): <Error class: unknown class><Resource>
Creates a GResource from a reference to the binary resource bundle. This will keep a reference to @data while the resource lives, so the data should not be modified or freed.