open_stream


Description:

public InputStream open_stream (string path, ResourceLookupFlags lookup_flags) throws Error

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

lookup_flags controls the behaviour of the lookup.

Parameters:

this

A Resource

path

A pathname inside the resource

lookup_flags

A ResourceLookupFlags

Returns:

InputStream or null on error. Free the returned object with unref