NativeHandleInvoke1<R, P extends NativeType> extension
Convenience extension to invoke a 1-argument C function taking Pointer<P>
with a NativeHandle.
final pkey = NativeHandle(EVP_PKEY_new(), addresses.EVP_PKEY_free);
final keyId = EVP_PKEY_id.invoke(pkey);
- on
-
- R Function(Pointer<
P> )
- R Function(Pointer<
Methods
-
invoke(
NativeHandle< P> handle) → R -
Available on R Function(Pointer<
InvokesP> ), provided by the NativeHandleInvoke1 extensionthiswith the unwrapped pointer fromhandle.