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


Groups > comp.programming.threads > #3976

My Parallel archiver version 4.6 is here..

Path csiph.com!eternal-september.org!feeder.eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From Intelli2 <intelli2@mama.com>
Newsgroups comp.programming.threads
Subject My Parallel archiver version 4.6 is here..
Date Tue, 12 Dec 2017 11:07:20 -0500
Organization A noiseless patient Spider
Lines 57
Message-ID <p0ouro$dub$2@dont-email.me> (permalink)
Mime-Version 1.0
Content-Type text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding 7bit
Injection-Date Tue, 12 Dec 2017 16:07:21 -0000 (UTC)
Injection-Info reader02.eternal-september.org; posting-host="aa9b9e70fbe62ff1ae0775d75395bc0a"; logging-data="14283"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19glOK+IS51ImCGI2sZMNOb3VSDluh7S4Y="
User-Agent Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0
Content-Language en-US
X-Mozilla-News-Host news://news.eternal-september.org:119
Cancel-Lock sha1:/XUAZSxfgX5KTYEMg/tvVE9z2MM=
Xref csiph.com comp.programming.threads:3976

Show key headers only | View raw


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.

Back to comp.programming.threads | Previous | Next | Find similar | Unroll thread


Thread

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

csiph-web