Пример #1
0
 private IEnumerable <RarReaderEntry> GetEntries(Stream stream, RarOptions options)
 {
     Volume = new RarReaderVolume(stream, options);
     foreach (RarFilePart fp in Volume.ReadFileParts())
     {
         ValidateArchive(Volume);
         yield return(new RarReaderEntry(Volume.IsSolidArchive, fp));
     }
 }
Пример #2
0
 private IEnumerable<RarReaderEntry> GetEntries(Stream stream, RarOptions options)
 {
     Volume = new RarReaderVolume(stream, options);
     foreach (RarFilePart fp in Volume.ReadFileParts())
     {
         ValidateArchive(Volume);
         yield return new RarReaderEntry(Volume.IsSolidArchive, fp);
     }
 }