final void Function(Pointer<Uint8>, Pointer<Uint8>, int) privkeyFunc = dyLib .lookup<NativeFunction<privatekey_func>>('dart_privatekey') .asFunction<Privatekey>();