readBytes method
The bytes of the single-file artifact at locator.
Implementation
@override
Future<Uint8List> readBytes(String locator) async {
final file = File(locator);
if (!file.existsSync()) throw TomContainerNotFoundException(locator);
final bytes = file.readAsBytesSync();
tomRefuseLfsPointer(locator, p.basename(locator), bytes, remedy: lfsRemedy);
return bytes;
}