ffi_helper 3.2.2-beta ffi_helper: ^3.2.2-beta copied to clipboard
Utility classes to make working with Dart's FFI a little bit simpler and more efficient.
1.0.0+ #
- dropped, shouldn't be used
2.0.0 - 2.0.0+2 #
- add thin
Array
wrapper to manage view into contiguous memory - add
Arena
class for arena allocation - add
SharedArray
for shared (reference counted) memory
2.0.1 #
- fix subclassing problem of
Array
2.1.0 #
Array
gets adelete()
method (just sugar forfree(array.ptr)
)
3.0.0-beta #
- use extensions instead of inheritance (otherwise an
Array<Uint8>
couldn't be passed as anUint8Array
) - use only
NativeType
as as generic type parameter, which is much less verbose
3.1.0-beta #
- Array.fromList() accepts all Iterable
- Arena also takes a
GetView
function likeArray
as constructor argument - Arena now produces
ArrayView
s when callingnewArray()
- Work on extensibility, meta annotation and documentation
- export utility functions in library
utils
3.2.0-beta #
- Array only stores
Pointer
and its length - Extension method
asTypedList()
generates and caches view - General work on API.
3.2.1-beta #
- Work on
SharedArray
3.2.2-beta #
- fix bug!
SharedArray
andArena
call standard allocator instead ofnull