blob: c940b009a605ab0dd7fb29053e4ea3c6a6ee0672 [file] [log] [blame]
library;
import self as self;
import "dart:async" as asy;
import "dart:typed_data" as typ;
import "dart:core" as core;
import "dart:typed_data";
static method getBinaryTestProto() asy::Future<typ::Uint8List>
return self::readFileWeb("test.binary.pb");
static method readFileWeb(core::String path) asy::Future<typ::Uint8List> async /* futureValueType= typ::Uint8List */ {
throw "";
}
static method runBench([typ::Uint8List? data = #C1]) → void async /* futureValueType= void */ {
data == null ?{typ::Uint8List?} data = await self::getBinaryTestProto() : null;
core::print(data{typ::Uint8List});
}
static method main() void async /* futureValueType= void */ {
typ::Uint8List data = await self::getBinaryTestProto();
core::print("File successfully read, contents: ${data}");
self::runBench(data);
}
constants {
#C1 = null
}