ffi_helper 3.0.0-beta copy "ffi_helper: ^3.0.0-beta" to clipboard
ffi_helper: ^3.0.0-beta copied to clipboard

discontinued
outdated

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 a delete() method (just sugar for free(array.ptr))

3.0.0-beta #

  • use extensions instead of inheritance (otherwise an Array<Uint8> couldn't be passed as an Uint8Array)
  • use only NativeType as as generic type parameter, which is much less verbose

Todo #

  • more testing
  • more extensions (as for now, there are only extensions for Array<Uint8> as this would be the most common type)
2
likes
0
pub points
12%
popularity

Publisher

unverified uploader

Utility classes to make working with Dart's FFI a little bit simpler and more efficient.

Homepage
View/report issues

License

unknown (LICENSE)

Dependencies

ffi, meta

More

Packages that depend on ffi_helper