Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.programming.threads > #3976 > unrolled thread

My Parallel archiver version 4.6 is here..

Started byIntelli2 <intelli2@mama.com>
First post2017-12-12 11:07 -0500
Last post2017-12-12 11:07 -0500
Articles 1 — 1 participant

Back to article view | Back to comp.programming.threads


Contents

  My Parallel archiver version 4.6 is here.. Intelli2 <intelli2@mama.com> - 2017-12-12 11:07 -0500

#3976 — My Parallel archiver version 4.6 is here..

FromIntelli2 <intelli2@mama.com>
Date2017-12-12 11:07 -0500
SubjectMy Parallel archiver version 4.6 is here..
Message-ID<p0ouro$dub$2@dont-email.me>
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.

[toc] | [standalone]


Back to top | Article view | comp.programming.threads


csiph-web