get method
Implementation
Future<Uint8List> get(PathUri path) async {
final buffer = BytesBuilder(copy: false);
final stream = await getStream(path);
await stream.forEach(buffer.add);
return buffer.toBytes();
}
Future<Uint8List> get(PathUri path) async {
final buffer = BytesBuilder(copy: false);
final stream = await getStream(path);
await stream.forEach(buffer.add);
return buffer.toBytes();
}