dart_pointers 0.1.0 copy "dart_pointers: ^0.1.0" to clipboard
dart_pointers: ^0.1.0 copied to clipboard

outdated

a pointer class with C like pointer behavior for dart.

A library for Dart developers.

Created from templates made available by Stagehand under a BSD-style license.

Usage #

A simple usage example:

var a = Pointer(121);
var b = Pointer(547);
a.swap(b);

var c = Pointer();
c.value = 'a';

var d = malloc(10);
d[5] = 'abc';
d[8] = 148;
d[7] = 5.1;
d[1] = false;

print(a);
print(b);
print(c);
print(d);

Output:

547
121
a
[null, false, null, null, null, abc, null, 5.1, 148, null]

Features and bugs #

Please file feature requests and bugs at the issue tracker.

3
likes
30
pub points
0%
popularity

Publisher

unverified uploader

a pointer class with C like pointer behavior for dart.

Repository (GitHub)
View/report issues

License

BSD-3-Clause (LICENSE)

More

Packages that depend on dart_pointers