org.gridkit.gzrand::gzrand

Random access support for GZ/Deflate format

License

License

GroupId

GroupId

org.gridkit.gzrand
ArtifactId

ArtifactId

gzrand
Last Version

Last Version

0.2
Release Date

Release Date

Type

Type

jar
Description

Description

org.gridkit.gzrand::gzrand
Random access support for GZ/Deflate format
Project URL

Project URL

http://code.google.com/p/gridkit/gzrand
Source Code Management

Source Code Management

https://github.com/aragozin/gzrand

Download gzrand

How to add to project

<!-- https://jarcasting.com/artifacts/org.gridkit.gzrand/gzrand/ -->
<dependency>
    <groupId>org.gridkit.gzrand</groupId>
    <artifactId>gzrand</artifactId>
    <version>0.2</version>
</dependency>
// https://jarcasting.com/artifacts/org.gridkit.gzrand/gzrand/
implementation 'org.gridkit.gzrand:gzrand:0.2'
// https://jarcasting.com/artifacts/org.gridkit.gzrand/gzrand/
implementation ("org.gridkit.gzrand:gzrand:0.2")
'org.gridkit.gzrand:gzrand:jar:0.2'
<dependency org="org.gridkit.gzrand" name="gzrand" rev="0.2">
  <artifact name="gzrand" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.gridkit.gzrand', module='gzrand', version='0.2')
)
libraryDependencies += "org.gridkit.gzrand" % "gzrand" % "0.2"
[org.gridkit.gzrand/gzrand "0.2"]

Dependencies

test (1)

Group / Artifact Type Version
junit : junit jar 4.11

Project Modules

There are no modules declared in this project.

GZ File Random Access

This is an implementation of random access interface to gzip archive files.

Data compressed with DEFLATE algorith is not support random access. Though it is posible to create recovery points in compressed stream (by memorizing internal state of decompression algorithm) and implement pseudo random access to compressed data.

Accessing data require one pass to index stream before any access is possible. Using this approach is generally slower than uncomression archive to temporary store, though for large archive saving space on temporary store may be benefitial.

This implementation was originally developed to deal with large compress JVM heap dumps.

Versions

Version
0.2
0.1