readBytes method
The bytes of the single-file artifact at locator.
Implementation
@override
Future<Uint8List> readBytes(String locator) async {
final loc = await _locate(locator);
final snapshot = await _snapshot(loc);
final sha = snapshot?.entryAt(loc.path)?.sha;
if (sha == null) throw TomContainerNotFoundException(locator);
return _readBlob(loc, locator, loc.path, sha);
}