ffi_helper library

Classes

Arena<T extends NativeType, L extends List<int>>
Instead of doing many little allocations / deallocations, Arena allocates / deallocates a large chunk of memory for multiple pointers / arrays, which can improve performance and makes memory management simpler. [...]
Array<T extends NativeType, L extends List<int>>
Thin wrapper arount a Pointer<T> and its associated typed list L
ArrayRef<T extends NativeType, L extends List<int>>
Reference to a SharedArray.
SharedArray<T extends NativeType, L extends List<int>>
Instead of allocating / deallocating many arrays, share one array which gets deleted when all references to it got deleted. This can lead to better performance and reduced memory usage. [...]
SharedUint8
Uint8Arena
Uint8Array
Uint8Ref