archive
archive copied to clipboard
Dart library to encode and decode various archive and compression formats, such as Zip, Tar, GZip, ZLib, and BZip2.
this is the best library to decompress files but the lack of rar suport make it limp a little, it will be amazing to get unrar functions
Encoder and Decoder classes would be derived from Converter, and a Codec class should be provided to combine the two, following the pattern used by the json, utf8, etc converters....
I solved it by adding the following line to the zip decodeBuffer method: ```js archive.comment = directory.zipFileComment; ``` Please add this fix in if it is deemed appropriate. Thanks.
After extract directory name should be - > cn=siranga durage praba,ou=RA센터,ou=e9pay,ou=등록기관,ou=licensedCA,o=KICA,c=KR But it changes to this - > cn=siranga durage praba,ou=RAýä+Ýä¦,ou=e9pay,ou=Ùô¦ÙíØÛ©¦Û¦Ç,ou=licensedCA,o=KICA,c=KR Code Example 🔢 ``` bool addToArchive(Map data) { ZipFileEncoder...
Hi thankyou for your great effort :) I have one strange problem. it is always missing last file (png, jpg) in the zip. the last file is added with 0...
Can any one know me, how to use this plugin in flutter web? I want to compress list of image file in single zip file in flutter website.
Thank you for this nice library. I see that all your functions are sync. Is there any plan to provide async commands ?
I seem to be able to add directories to an encoder but not an archive. This seems to work in my limited testing: ```dart void addArchiveDirectory(Archive arc, String name) =>...
``` String zipDir(String path) { print('compression start'); var encode = ZipFileEncoder(); encode.zipDirectory(Directory(path), filename: path + '.zip'); print('compression end'); return path + '.zip'; } ```
Is it possible to delete or replace an `ArchiveFile` inside `Archive`. I tried this ```dart Archive archive = ZipDecoder().decodeBytes(data.buffer .asUint8List(data.offsetInBytes, data.lengthInBytes)); archive.addFile(ArchiveFile( "path/file.xml", newFile.lengthInBytes, newFile.buffer.asUint8List( newFile.offsetInBytes, newFile.lengthInBytes, ), )..compress =...