parseComic7Book function
Parses a CB7 (7-Zip comic) archive.
Koni's archive reader is asynchronous because 7z decompression is streaming-first. CBZ/CBR use
their synchronous parser; CB7/CBC are exposed through this asynchronous entry point and through
Unseal.read.
Implementation
Future<ComicBook> parseComic7Book(final Uint8List bytes) async {
if (!_isSevenZip(bytes)) throw const Comic7Exception('Input is not a 7-Zip archive.');
final archive = await _openArchive(bytes);
try {
return await _parseComic7Archive(archive);
} finally {
await archive.close();
}
}