There are two entry points to NUnrar: RarArchive and RarReader.
- RarArchive requires random access to a file and can extract any file in any order.
- RarReader performs a forward-only streaming extraction of a single or multi-part archive.
The basic usage of NUnrar using the RarArchive interface.
This example has multiple streams for a multi-part file using the RarArchive interface.
Non-seekable Stream Usage
Usage of the RarReader API for a non-seekable stream which requires attaching to an event to request a writeable stream. A second event is used to find the next multi-part file if needed.