Pointer<T extends NativeType> class
Represents a pointer into the native C memory. Cannot be extended.
- Inheritance
- Object
- NativeType
- Pointer
Constructors
- Pointer.fromAddress(int ptr)
-
Construction from raw integer.
factory
Properties
Methods
-
asFunction<
R extends Function> () → R - Convert to Dart function, automatically marshalling the arguments and return value. [...]
-
cast<
U extends NativeType> () → Pointer< U> -
Cast Pointer
to a Pointer . -
elementAt(
int index) → Pointer< T> - Pointer arithmetic (takes element size into account).
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toString(
) → String -
Returns a string representation of this object.
inherited
Operators
-
operator ==(
dynamic other) → bool -
Equality for Pointers only depends on their address.
override
Static Methods
-
fromFunction<
T extends Function> (Function f, [ Object exceptionalReturn ]) → Pointer< NativeFunction< T> > - Convert Dart function to a C function pointer, automatically marshalling the arguments and return value [...]