ReaderFactory.Open Fails on MultiVolumeRar #45

Open
opened 2026-01-29 22:04:26 +00:00 by claunia · 1 comment
Owner

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.

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.
Author
Owner

@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.

@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.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/sharpcompress#45