FROM : James Bucanek
DATE : Sun Jun 08 17:39:17 2008
Trygve Inda <mailto:<email_removed>> wrote (Sunday,
June 8, 2008 1:25 AM -0000):
>Is zlib in all versions of 10.4 and 10.5?
Yes. I use zlib extensively in my application, which runs on
10.4 and 10.5.
>Will any version of zlib always uncompress something created with a
>different version?
No. The library will return Z_VERSION_ERROR if you try to
inflate something that the working zlib library doesn't understand.
That said, zlib has been stable for years. If you're just now
getting started with compression, you should't have version
problems (that you can't manage).
>Any endian issues with zlib?
zlib compresses bytes, not words, so there are no inherent
endian issues when using zlib. Your actual data is another
matter; You'll have the same endian issues you would
storing/moving uncompressed data between systems.
--
James Bucanek
DATE : Sun Jun 08 17:39:17 2008
Trygve Inda <mailto:<email_removed>> wrote (Sunday,
June 8, 2008 1:25 AM -0000):
>Is zlib in all versions of 10.4 and 10.5?
Yes. I use zlib extensively in my application, which runs on
10.4 and 10.5.
>Will any version of zlib always uncompress something created with a
>different version?
No. The library will return Z_VERSION_ERROR if you try to
inflate something that the working zlib library doesn't understand.
That said, zlib has been stable for years. If you're just now
getting started with compression, you should't have version
problems (that you can't manage).
>Any endian issues with zlib?
zlib compresses bytes, not words, so there are no inherent
endian issues when using zlib. Your actual data is another
matter; You'll have the same endian issues you would
storing/moving uncompressed data between systems.
--
James Bucanek
| Related mails | Author | Date |
|---|---|---|
| Trygve Inda | Jun 8, 10:25 | |
| James Bucanek | Jun 8, 17:39 | |
| Trygve Inda | Jun 22, 12:41 | |
| Jason Coco | Jun 22, 16:33 |






Cocoa mail archive

