brendan-duncan / archive

Dart library to encode and decode various archive and compression formats, such as Zip, Tar, GZip, ZLib, and BZip2.
MIT License
399 stars 139 forks source link

Support more Zip method(LZMA, bzip2) #261

Open richshaw2015 opened 1 year ago

richshaw2015 commented 1 year ago

for example generate a zip file with LZMA/bzip2 method from 7z tool:

7zz a -p123 -tzip test.zip test.db -mm=LZMA -mx=9

curently only support DEFLATE and STORE

/// A file contained in an Archive.
class ArchiveFile {
  static const int STORE = 0;
  static const int DEFLATE = 8;
89pleasure commented 1 year ago

Also wanna mention 7z support here ;)

brendan-duncan commented 11 months ago

I added bzip2 decompression for zip files. I haven't added lzma yet. bzip2 is in 3.4.2.