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.