mirror of
https://github.com/adamhathcock/sharpcompress.git
synced 2026-02-03 21:23:38 +00:00
ReaderFactory.Open Fails on MultiVolumeRar #45
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @thegreatco on GitHub (Jul 20, 2015).
When opening a RAR File with ReaderFactory.Open, it defaults to returning a SingleVolumeReader which fails when the RAR file is a MultiVolumeRar.
@adamhathcock commented on GitHub (Jul 20, 2015):
ReaderFactory shouldn't be used with multi-volume rars. Multi-volume support is only for ArchiveFactory. Readers only deal with a single stream of data and Rar volumes implicitly use files to know about multiple volumes.