icsharpcode / SharpZipLib

#ziplib is a Zip, GZip, Tar and BZip2 library written entirely in C# for the .NET platform.
http://icsharpcode.github.io/SharpZipLib/
MIT License
3.73k stars 976 forks source link

ZipOutputStream is not support BZip2 #615

Open zhuxb711 opened 3 years ago

zhuxb711 commented 3 years ago

https://github.com/icsharpcode/SharpZipLib/blob/7ed87d10b8ecafeb5abb5a129c046837416ac11f/src/ICSharpCode.SharpZipLib/Zip/ZipOutputStream.cs#L261

ZipEntry is now support for BZip2 but ZipOutputStream is still not support that yet?

Numpsy commented 3 years ago

ZipFile now has support for adding BZip2 compressed entries, but ZipOutputStream is Deflate/Store only

zhuxb711 commented 3 years ago

Why ZipOutputStream could not use BZip2 ? It should be the same as ZipFile but has more control to developer

piksel commented 3 years ago

Because no one has implemented it yet, pull requests are welcomed! 😁