On Mar 12, 2:13 am, Hal Vaughan <[email protected]> wrote:
> I'm reading in binary files that I want to compress with Gzip in Crypto++.
>  I found this example
> (http://www.codeproject.com/Articles/835/Compression-and-decompression...),
> which is for an earlier version of Crypto++.
>
> I've noticed there is no longer a Gzip.Close() function for zipping or
> unzipping.  Is there another way to signal that I'm done providing data to
> be compressed (or uncompressed)?
http://www.cryptopp.com/docs/ref/class_gzip.html

> I tried casting my char* to byte* and using Gzip.PutModifiable() to pass my
> data on for compression, but apparently I'm not getting actual compression
> that way.  (Unless it's somehow possible to DEFLATE a 16MB file to 10
> bytes!)
Call MessageEnd() when yo are finished putting data.

Jeff

-- 
-- 
You received this message because you are subscribed to the "Crypto++ Users" 
Google Group.
To unsubscribe, send an email to [email protected].
More information about Crypto++ and this group is available at 
http://www.cryptopp.com.
--- 
You received this message because you are subscribed to the Google Groups 
"Crypto++ Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to