7 Commits

Author SHA1 Message Date
Mark Adler
4edb00de5a Add _z versions of the compress and uncompress functions.
Provide size_t arguments for Windows, on which a long is 32 bits.
2026-01-12 10:13:28 -08:00
Mark Adler
916dc1ac35 Add compressBound_z and deflateBound_z functions for large values.
These take and return size_t integers, instead of unsigned longs,
for those platforms with 32-bit longs. This commit also assures
that overflows of either integer type results in the maximum value
for that type, instead of wrapping to small values.
2026-01-05 15:03:04 -06:00
Mark Adler
570720b0c2 zlib 1.3.1.2
Interim version for an audit.
2025-12-08 05:30:18 -08:00
Mark Adler
e011d8c164 Add deflateUsed() function to get the used bits in the last byte.
This returns the number of used bits in the last byte of a stream
that has just been compressed with deflate.
2024-07-01 19:34:40 -05:00
Mark Adler
d39a2558bc Add missing symbols to os400/bndsrc. 2022-10-05 15:17:52 -07:00
Mark Adler
2fa463bacf zlib 1.2.9 2016-12-31 23:37:10 -08:00
Mark Adler
d46546544a Replace as400 with os400 for OS/400 support (Monnerat). 2016-12-30 20:00:57 -08:00