Mark Adler
2968a496d9
Remove unneeded dependency on limits.h in examples/zran.c.
5 months ago
Mark Adler
abd3d1a289
Update zran version.
1 year ago
Mark Adler
037bca67fd
Allocate the dictionaries in examples/zran.c.
...
This reduces the memory needed for dictionaries, and avoids the
need to reallocate the index at the end to return unused memory.
1 year ago
Mark Adler
6378d33478
Provide a reusable inflate engine in the index in example/zran.c.
...
Avoids the overhead of creating a new inflate engine for each
random access extraction.
1 year ago
Mark Adler
bb054d95d0
Stop decoding in zran.c once request is satisfied.
1 year ago
Mark Adler
be4db0a79a
Set returned index to NULL on an index build error in zran.c.
...
An attempt to use the returned pointer in deflate_index_extract()
will now return cleanly with an error. The returned pointer can
now also be used with deflate_index_free() even on error.
1 year ago
THE-Spellchecker
01155ccc3f
Fix random typos over several source and text files.
1 year ago
Mark Adler
7e6dc429af
Add a NOPRIME #define to zran.c to not use inflatePrime().
...
This supports zlib versions earlier than 1.2.3 (July 2005), as
well as incomplete clones of zlib that do not have inflatePrime().
2 years ago
Mark Adler
eb0e038b29
Rewrite of zran in examples. See version history in zran.c.
2 years ago
Mark Adler
5752b171fd
Fix some typos.
...
No code changes.
3 years ago
Mark Adler
921d81b2a8
Fix the zran.c example to work on a multiple-member gzip file.
6 years ago
Mark Adler
03614c56ad
Fix some typos.
8 years ago
Mark Adler
bd143f1c0a
Fix memory allocation error in examples/zran.c [Nor].
13 years ago
Mark Adler
b1c19ca6d8
zlib 1.2.3.1
14 years ago
Mark Adler
9c3a583021
zlib 1.2.2.4
14 years ago