NativeSymbols class final
Addresses of the library's C functions (native/rust/src/lib.rs).
- Annotations
-
- @immutable
Constructors
-
NativeSymbols({required Pointer<
NativeFunction< abiVersion, required Pointer<Uint32 Function()> >NativeFunction< init, required Pointer<Bool Function(Pointer< >Void> , Uint32)>NativeFunction< alloc, required Pointer<Pointer< >Uint8> Function(Size)>NativeFunction< connect, required Pointer<Uint64 Function(Pointer< >Uint8> , Size, Int64)>NativeFunction< send, required Pointer<Uint32 Function(Uint64, Pointer< >Uint8> , Size, Bool)>NativeFunction< ping, required Pointer<Bool Function(Uint64)> >NativeFunction< close, required Pointer<Bool Function(Uint64, Int32, Pointer< >Uint8> , Size)>NativeFunction< abort, required Pointer<Bool Function(Uint64)> >NativeFunction< grant, required Pointer<Bool Function(Uint64, Int64)> >NativeFunction< buffered, required Pointer<Int64 Function(Uint64)> >NativeFunction< requestDrain, required Pointer<Bool Function(Uint64)> >NativeFunction< finalize})Void Function(Pointer< >Void> )> -
The addresses, however they were resolved.
const
-
NativeSymbols.lookup(Pointer<
T> lookup<T extends NativeType>(String symbol) ) -
Resolves every symbol by name with
lookup(for exampleDynamicLibrary.lookup).factory
Properties
-
abiVersion
→ Pointer<
NativeFunction< Uint32 Function()> > -
ws_native_abi_versionfinal -
abort
→ Pointer<
NativeFunction< Bool Function(Uint64)> > -
ws_native_abortfinal -
alloc
→ Pointer<
NativeFunction< Pointer< >Uint8> Function(Size)> -
ws_native_allocfinal -
buffered
→ Pointer<
NativeFunction< Int64 Function(Uint64)> > -
ws_native_bufferedfinal -
close
→ Pointer<
NativeFunction< Bool Function(Uint64, Int32, Pointer< >Uint8> , Size)> -
ws_native_closefinal -
connect
→ Pointer<
NativeFunction< Uint64 Function(Pointer< >Uint8> , Size, Int64)> -
ws_native_connectfinal -
finalize
→ Pointer<
NativeFunction< Void Function(Pointer< >Void> )> -
ws_native_finalizefinal -
grant
→ Pointer<
NativeFunction< Bool Function(Uint64, Int64)> > -
ws_native_grantfinal - hashCode → int
-
The hash code for this object.
no setterinherited
-
init
→ Pointer<
NativeFunction< Bool Function(Pointer< >Void> , Uint32)> -
ws_native_initfinal -
ping
→ Pointer<
NativeFunction< Bool Function(Uint64)> > -
ws_native_pingfinal -
requestDrain
→ Pointer<
NativeFunction< Bool Function(Uint64)> > -
ws_native_request_drainfinal - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
send
→ Pointer<
NativeFunction< Uint32 Function(Uint64, Pointer< >Uint8> , Size, Bool)> -
ws_native_sendfinal
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited