if(_randomFile == null) {
_randomFile = new File("/dev/urandom").openSync();
}
return _randomFile.read(count);
main() {
final f = new File("./delme.dart").openSync();
f.read(100);
f.read(100);
}
main() {
new File("./delme.dart").open().then((raf) => raf.read(100));
new File("./delme.dart").open().then((raf) => raf.read(100));
}
--
For other discussions, see https://groups.google.com/a/dartlang.org/
For HOWTO questions, visit http://stackoverflow.com/tags/dart
To file a bug report or feature request, go to http://www.dartbug.com/new
To unsubscribe from this group and stop receiving emails from it, send an email to misc+uns...@dartlang.org.