blob: f2abc4da6cd630a5f5cb4ac0ebe2568a3669fdce [file] [log] [blame] [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://coveralls.io/repos/github/dart-lang/native/badge.svg?branch=main)](https://coveralls.io/github/dart-lang/native?branch=main)
[![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/ffi/tree/main/test) for example usage.
For additional details about Dart FFI (`dart:ffi`), see
https://dart.dev/guides/libraries/c-interop.