openStream

fun openStream(path: String, lookupFlags: ResourceLookupFlags): <Error class: unknown class><InputStream>

Looks for a file at the specified @path in the resource and returns a #GInputStream that lets you read the data.

Return

#GInputStream or null on error. Free the returned object with g_object_unref()

Since

2.32

Parameters

path

A pathname inside the resource

lookupFlags

A #GResourceLookupFlags