haf / DotNetZip.Semverd

Please use System.IO.Compression! A fork of the DotNetZip project without signing with a solution that compiles cleanly. This project aims to follow semver to avoid versioning conflicts. DotNetZip is a FAST, FREE class library and toolset for manipulating zip files. Use VB, C# or any .NET language to easily create, extract, or update zip files.
Other
546 stars 218 forks source link

Async/Await support #60

Open mrtaikandi opened 8 years ago

mrtaikandi commented 8 years ago

Are there any plans to support asynchronously compress/extraction preferably using async/await keywords?

haf commented 8 years ago

Happy new year! No plans, only PRs.

mark-at-tusksoft commented 3 years ago

Currently running into this as Blazor(wasm) Input Files use BrowserFileStream which does not support synchronous reads.

Uncaught (in promise) Error: System.NotSupportedException: Synchronous reads are not supported.
   at Microsoft.AspNetCore.Components.Forms.BrowserFileStream.Read(Byte[] buffer, Int32 offset, Int32 count)
   at Ionic.Zip.SharedUtilities.FindSignature(Stream stream, Int32 SignatureToFind)
   at Ionic.Zip.ZipInputStream.GetNextEntry()
   ...