Commit Graph

8 Commits

Author SHA1 Message Date
Paul Newman
afff386622 Skip entry stream on dispose
Until now the caller had to completely consume each entry stream, or call SkipEntry(), before disposing the stream. If not, exception was thrown: "EntryStream has not been fully consumed". Hugely inconvenient; a user-thrown exception inside a "using (EntryStream)" block would be discarded.

Now automatically skips the entry on dispose.

Added method EntryStream.Cancel(). Call this if entry stream is unfinished, and no further entries are required. Helps with efficiency, as it avoids reading data that is not needed.
2015-07-15 13:44:20 +01:00
Adam Hathcock
e58ec599f0 Cleaning up some FileInfo non-usage and fixing tests. 2013-12-23 12:15:57 +00:00
Adam Hathcock
afd65a7505 Removed unimplemented Close 2013-12-23 11:12:07 +00:00
Hamdanil Rasyid
37c4665630 Make password a parameter 2013-07-15 00:35:35 +08:00
Adam Hathcock
455f93f294 Windows Store version compiles 2013-04-28 13:01:29 +01:00
Adam Hathcock
fcf86b738e Resharper code cleanup 2013-04-28 12:32:55 +01:00
Adam Hathcock
ab9155dfc5 zip/gzip skipping now doesn't involve decompression https://github.com/simmotech/sharpcompress 2013-04-28 11:07:13 +01:00
Adam Hathcock
7ce4b7d076 Initial commit 2013-04-07 10:58:58 +01:00