blob: a4511d0c5dbfade94095c7581456e0a974a913e4 [file] [view] [edit]
[![Build Status](https://github.com/dart-lang/native/actions/workflows/ffi.yaml/badge.svg)](https://github.com/dart-lang/native/actions/workflows/ffi.yaml)
[![Coverage Status](https://codecov.io/gh/dart-lang/native/branch/main/graph/badge.svg?component=ffi)](https://app.codecov.io/gh/dart-lang/native)
[![pub package](https://img.shields.io/pub/v/ffi.svg)](https://pub.dev/packages/ffi)
[![package publisher](https://img.shields.io/pub/publisher/ffi.svg)](https://pub.dev/packages/ffi/publisher)
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](https://pub.dev/documentation/ffi/latest/ffi/ffi-library.html) for more documentation and the [tests](https://github.com/dart-lang/native/tree/main/pkgs/ffi/test) for example usage.
For additional details about Dart FFI (`dart:ffi`), see
https://dart.dev/guides/libraries/c-interop.