Utilities for working with Foreign Function Interface (FFI) code, incl. converting between Dart strings and C strings encoded with UTF-8 and UTF-16.
Please see the API reference for more documentation and the tests for example usage.
For additional details about Dart FFI (dart:ffi
), see
https://dart.dev/guides/libraries/c-interop.