commit | b34a792333a891ae018855ff6e667458a12b2547 | [log] [tgz] |
---|---|---|
author | J-P Nurmi <jpnurmi@gmail.com> | Wed Nov 18 10:57:19 2020 +0100 |
committer | GitHub <noreply@github.com> | Wed Nov 18 10:57:19 2020 +0100 |
tree | 4ae915865b4ab242da1a784a0161e2101ed5b981 | |
parent | 7eae47dd47fe9de4f9670a7d9db0c7b957c3be0a [diff] |
Minor Utf8.strlen() improvement (#65) As suggested in #61, using indexOf(0) to search the zero byte has a bit less overhead than indexWhere(closure).
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.