Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

My Parallel archiver version 4.6 is here..

2 views
Skip to first unread message

Intelli2

unread,
Dec 12, 2017, 11:07:24 AM12/12/17
to
Hello,

My Parallel archiver version 4.6 is here..

I have deleted the property LoadStreamIndex because it has introduced a
bug, and i have solved it by adding the following methods: CopyArchive()
that copy the archive to a stream and a new ExtractAll() that extract
from a stream, i have documented the methods, please read the readme
file inside the zip file.

Here is an example of how to use the above new methods, this example
will extract an archive from a stream without loading the index, and it
will copy the archive to the a stream:

==

PROGRAM test_pl;

uses cmem,PLZ4Archiver,system.classes,system.sysutils,findfile;

var
mem:TMemoryStream;
pzr: TPLZ4Archiver;
str:UTF8String;
i:integer;
fstream1,fstream2:TFileStream;

Begin
fstream1:=TFileStream.create('amine1.z', fmOpenReadWrite);
fstream2:=TFileStream.create('amine1.z', fmCreate);

pzr :=TPLZ4Archiver.Create('',1000,4);
pzr.indicator:=true; // to show the compression and decompression rate
pzr.password:='amine';
pzr.Stream:=fstream1;

if not pzr.ExtractAll('c:\tmp1000') then writeln('not ok...');

pzr.CopyArchive(fstream2);
pzr.free;

fstream2.free;

End.

===


And now i think that my Parallel archiver version 4.6 is much more
stable and fast.

You can download my new Parallel archiver 4.6 from:

https://sites.google.com/site/aminer68/parallel-archiver

Thank you,
Amine Moulay Ramdane.
0 new messages