async_task_shared_pointer library

Asynchronous pointer for shared memory between Isolates.

Classes

AsyncExecutorSharedDataInfo
Collects SharedData execution information.
SerializableData<D, S>
Interface for serializable data classes:
SharedData<D, S>
Class for shared data between AsyncTask instances.
SharedPointer<T>
Base class for a dart:ffi Pointer that can be shared between Isolates.
SharedPointerAddress
Represents a SharedPointer.address, with its memoryAddress, type and parameters needed to re-instantiate a SharedPointer.
SharedPointerBytes<T>
A SharedPointer that allocates a bytes (fixed length) that can be mapped to another type, like Uint32List or Uint32.
SharedPointerMapped<T>
A SharedPointerBytes mapped to generic reader/writer functions.
SharedPointerUint32
A SharedPointerBytes mapped to a single Uint32.
SharedPointerUInt32List
A SharedPointerBytes mapped to a Uint32List of fixed length.
SharedPointerUint64
A SharedPointerBytes mapped to a single Uint64.
SharedPointerUInt64List
A SharedPointerBytes mapped to a Uint64List of fixed length.
SharedPointerUInt8List
A SharedPointerBytes mapped to a Uint8List of fixed length.

Typedefs

SharedPointerMapReader<T> = T? Function(ByteData byteData, int offset)
SharedPointerMapWriter<T> = void Function(ByteData byteData, int offset, T value)