{"id":15724417,"url":"https://github.com/cldellow/gzip","last_synced_at":"2025-07-14T08:09:59.764Z","repository":{"id":57718245,"uuid":"165447201","full_name":"cldellow/gzip","owner":"cldellow","description":"A fork of java.util.zip.GZIPInputStream that emits the offsets of nested streams.","archived":false,"fork":false,"pushed_at":"2019-04-28T08:38:48.000Z","size":22,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-06T07:14:22.767Z","etag":null,"topics":["compression","gzip","warc"],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cldellow.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-01-12T23:39:36.000Z","updated_at":"2019-04-28T08:38:50.000Z","dependencies_parsed_at":"2022-09-14T22:53:21.282Z","dependency_job_id":null,"html_url":"https://github.com/cldellow/gzip","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cldellow/gzip","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cldellow%2Fgzip","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cldellow%2Fgzip/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cldellow%2Fgzip/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cldellow%2Fgzip/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cldellow","download_url":"https://codeload.github.com/cldellow/gzip/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cldellow%2Fgzip/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264400190,"owners_count":23602223,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["compression","gzip","warc"],"created_at":"2024-10-03T22:16:33.822Z","updated_at":"2025-07-14T08:09:59.724Z","avatar_url":"https://github.com/cldellow.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DEPRECATED\n\n_Don't use this library!_\n\nIt relied on accessing internals of `java.util.zip.Inflater`, which have\nchanged in JDK 11.\n\nInstead, use [GzipCompressorInputStream](https://commons.apache.org/proper/commons-compress/apidocs/org/apache/commons/compress/compressors/gzip/GzipCompressorInputStream.html)\nfrom Apache compress-commons. An example of how to use it is at https://github.com/cldellow/warc-service/blob/e95f8f5906c39efeb781a47b343a7cec179af7e3/src/main/scala/com/cldellow/warc/framework/WarcHandler.scala#L62\n\n\n\n## gzip\n\n[![Build Status](https://travis-ci.org/cldellow/gzip.svg?branch=master)](https://travis-ci.org/cldellow/gzip)\n[![codecov](https://codecov.io/gh/cldellow/gzip/branch/master/graph/badge.svg)](https://codecov.io/gh/cldellow/gzip)\n[![Maven Central](https://img.shields.io/maven-central/v/com.cldellow/gzip.svg)](https://mvnrepository.com/artifact/com.cldellow/gzip)\n\nEmit offsets of nested GZIP streams.\n\nGZIP has the interesting property that a sequence of concatenated\nGZIP streams can be read as though it were a single GZIP stream.\n\nThe Web Archive (WARC) format takes advantage of this to store tens\nof thousands of GZIP streams in a single file. When processing such\na file, it can be useful to know the start of the underlying stream.\nThe stock `java.util.zip.GZIPInputStream` class does not expose this.\n\nThis library patches that class expose a callback which gets invoked\nwith the offsets of the member streams.\n\n### Usage\n\n```\nint[] offsets = new int[100];\n\nGZIPInputStream gzis = new GZIPInputStream(is, (member, offset) -\u003e { offsets[member] = offset; });\n```\n\n### License\n\nThis library is a fork of `java.util.zip.GZIPInputStream` as implemented\nby Oracle.\n\nThis library's contents are subject to the GPL \"Classpath\" exception. You may\nlink it into an executable without that executable itself having to be licensed\nunder the GPL.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcldellow%2Fgzip","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcldellow%2Fgzip","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcldellow%2Fgzip/lists"}