aboutsummaryrefslogtreecommitdiff
path: root/examples/zran.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Update zran version.Mark Adler2024-02-041-2/+2
|
* Allocate the dictionaries in examples/zran.c.Mark Adler2024-02-041-1/+2
| | | | | This reduces the memory needed for dictionaries, and avoids the need to reallocate the index at the end to return unused memory.
* Provide a reusable inflate engine in the index in example/zran.c.Mark Adler2024-02-041-0/+1
| | | | | Avoids the overhead of creating a new inflate engine for each random access extraction.
* Set returned index to NULL on an index build error in zran.c.Mark Adler2024-02-041-1/+1
| | | | | | 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.
* Rewrite of zran in examples. See version history in zran.c.Mark Adler2023-02-181-29/+40
|
* Fix the zran.c example to work on a multiple-member gzip file.Mark Adler2018-10-141-0/+40