loadWrapper

open override fun loadWrapper(uri: Uri, resolutionContext: <Error class: unknown class>?): Result<Wrapper>

Resolves the Wrapper at the specified URI.

Return

A Result containing the Wrapper, or an error if the resolution fails.

Parameters

uri

The URI of the wrapper to resolve.

resolutionContext

The FfiUriResolutionContext to be used during URI resolution, or null for a default context. The caller owns resolutionContext and is responsible for closing it to prevent a memory leak.

Throws

FfiException