resources_open_stream
Description:
[ Version ( since = "2.32" ) ]
public InputStream resources_open_stream (string path, ResourceLookupFlags lookup_flags) throws Error
Looks for a file at the specified path in the set of globally registered resources and returns a [class@Gio.
InputStream] that lets you read the data.
lookup_flags controls the behaviour of the lookup.
Parameters:
| path |
A path name inside the resource |
| lookup_flags |
A [flags@Gio.ResourceLookupFlags] |
Returns:
|
[class@Gio.InputStream] or `NULL` on error |
Namespace: GLib
Package: gio-2.0