Wednesday, December 13, 2017

Digest for comp.programming.threads@googlegroups.com - 1 update in 1 topic

Intelli2 <intelli2@mama.com>: Dec 12 11:07AM -0500

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.
You received this digest because you're subscribed to updates for this group. You can change your settings on the group membership page.
To unsubscribe from this group and stop receiving emails from it send an email to comp.programming.threads+unsubscribe@googlegroups.com.

No comments: