resourceLength method
Implementation
@override
Future<int> resourceLength(String path) async {
ZipPackage? package = await archive;
ZipLocalFile? entry = package?.entries[path];
if (entry == null) {
throw ContainerException.resourceNotFound(path);
}
return entry.uncompressedSize;
}