|author||J-P Nurmi <firstname.lastname@example.org>||Wed Nov 18 10:00:52 2020 +0100|
|committer||GitHub <email@example.com>||Wed Nov 18 10:00:52 2020 +0100|
Utf8.fromUtf8(): allow passing the length (#61) The string could be non-zero-terminated, for example, or even if it is, the length may be already known, in which case an unnecessary strlen() call can be avoided.
Utilities for working with Foreign Function Interface (FFI) code, incl. converting between Dart strings and C strings encoded with UTF-8 and UTF-16.
For additional details about Dart FFI (
dart:ffi), see https://dart.dev/guides/libraries/c-interop.