NativeLibrary class

Constructors

NativeLibrary(DynamicLibrary dynamicLibrary)
The symbols are looked up in dynamicLibrary.
NativeLibrary.fromLookup(Pointer<T> lookup<T extends NativeType>(String symbolName))
The symbols are looked up with lookup.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
proxy_connect(Pointer<CWallet_t> wallet, Vec_uint8_t endpoints, Pointer<NativeFunction<Void Function(CPacket_t)>> cb) Pointer<CProxy_t>
\brief Return a proxy instance
proxy_disconnect(Pointer<CProxy_t> proxy) → void
\brief Disconnect from the proxy and abort the background threads
proxy_send(Pointer<CProxy_t> proxy, CPacket_t packet) → void
\brief Send a packet to the gateway via the proxy
toString() String
A string representation of this object.
inherited
verify_authorized_promissory(CRawPromissory_t promissory) int
\brief return a non-zero error if the authorized promissory verification failed
verify_transferred_promissory(CRawPromissory_t promissory) int
\brief return a non-zero error if the transferred promissory verification failed
wallet_from_seed(slice_ref_uint8_t seed) Pointer<CWallet_t>
\brief Return a wallet instance from a 32 bytes seed
wallet_sign(Pointer<CWallet_t> wallet, slice_ref_uint8_t payload) Vec_uint8_t
\brief Return the wallet verifier key
wallet_verifier(Pointer<CWallet_t> wallet) slice_ref_uint8_t
\brief Return the wallet verifier key
wallet_verify_ed25519(slice_ref_uint8_t verifier, slice_ref_uint8_t payload, slice_ref_uint8_t signature) bool
\brief Verify a signature provided a verifier key

Operators

operator ==(Object other) bool
The equality operator.
inherited