Re: Zlib compression issues
- From: Hans-Peter Diettrich <DrDiettrich1@xxxxxxx>
- Date: Tue, 23 Oct 2007 22:19:55 +0200
dean.cleancode@xxxxxxxxx wrote:
I'm having issues with zlib's deflate and inflate functions...
Generally, my code using these functions works well. However, in some
small cases, either deflate or inflate chops off the last byte of the
file.
For instance, creating a file with the character range of 0-255 like
this:
perl -e 'for ($i=0; $i < 255; $i++) { print "%c", $i; }' > ascii
Here it's your program, that chops the last byte (255).
DoDi
.
- References:
- Zlib compression issues
- From: dean . cleancode
- Zlib compression issues
- Prev by Date: Re: Zlib compression issues
- Next by Date: Re: Repeatable compression is possible and easy to do, here's how...
- Previous by thread: Re: Zlib compression issues
- Index(es):