0 registered members (),
1,209
guests, and 0
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
Re: super simple filepacker
[Re: ventilator]
#161386
02/18/08 11:19
02/18/08 11:19
|
Joined: Oct 2007
Posts: 5,210 İstanbul, Turkey
Quad
Senior Expert
|
Senior Expert
Joined: Oct 2007
Posts: 5,210
İstanbul, Turkey
|
so, is there any way to use lower compression ratio(or no compression, just packing)?(to make it unpack faster?)
3333333333
|
|
|
Re: super simple filepacker
[Re: ventilator]
#161388
02/19/08 08:03
02/19/08 08:03
|
Joined: Oct 2007
Posts: 5,210 İstanbul, Turkey
Quad
Senior Expert
|
Senior Expert
Joined: Oct 2007
Posts: 5,210
İstanbul, Turkey
|
ok, thanks i got it.
its
int compress2(byte *dest, long *destlen, const byte *source, long sourcelen, int level);
(same uncompression method used.)
level: must be between 0-9 or -1 (it returns -2 , if something other than 1-9 or -1 entered)
1 low compression-high speed , 9 high comp.-low speed, 0 no compression(just store), -1 default
i think the level -1 is same as the normal compress method that ventilator used.
Thank you for thar super simple packer.
Last edited by Quadraxas; 02/19/08 08:23.
3333333333
|
|
|
|