This repository was archived by the owner on Jan 17, 2024. It is now read-only.
File tree 3 files changed +8
-5
lines changed 3 files changed +8
-5
lines changed Original file line number Diff line number Diff line change 1
1
# Changelog
2
2
3
+ ## 0.1.1+1
4
+
5
+ * Fix documentation link
6
+
3
7
## 0.1.1
4
8
5
9
* Add basic Utf16 support
Original file line number Diff line number Diff line change @@ -55,8 +55,7 @@ class Utf8 extends Struct<Utf8> {
55
55
/// Returns a malloc-allocated pointer to the result.
56
56
static Pointer <Utf8 > toUtf8 (String string) {
57
57
final units = utf8.encode (string);
58
- final Pointer <Uint8 > result =
59
- allocate <Uint8 >(count: units.length + 1 );
58
+ final Pointer <Uint8 > result = allocate <Uint8 >(count: units.length + 1 );
60
59
final Uint8List nativeString =
61
60
result.asExternalTypedData (count: units.length + 1 );
62
61
nativeString.setAll (0 , units);
Original file line number Diff line number Diff line change 1
1
name : ffi
2
- version : 0.1.1
2
+ version : 0.1.1+1
3
3
author :
Dart Team <[email protected] >
4
4
homepage : https://github.com/dart-lang/ffi
5
5
description : Utilities for working with Foreign Function Interface (FFI) code.
6
6
7
7
environment :
8
- sdk : ' >=2.5.0-dev.2.1 <3.0.0'
9
- documentation : http ://www.dartdocs.org /documentation/ffi/latest
8
+ sdk : ' >=2.5.0 <3.0.0'
9
+ documentation : https ://pub.dev /documentation/ffi/
10
10
11
11
dependencies :
12
12
You can’t perform that action at this time.
0 commit comments