Download all versions of heatshrink-java JAR files with all dependencies
heatshrink-java from group io.github.markrileybot (version 1.0.1)
# heatshrink-java
Java library used to encode/decode [heatshrink](https://github.com/atomicobject/heatshrink) compressed data.
## Building
```bash
./gradlew build
```
## Gradle dependency
See https://search.maven.org/artifact/io.github.markrileybot/heatshrink-java/
## Usage
### Java library
```java
int windowSize = 9;
int lookaheadSize = 8;
ByteArrayOutputStream baos = new ByteArrayOutputStream();
try(HsOutputStream out = new HsOutputStream(baos, windowSize, lookaheadSize)) {
out.write("ABCABCABCABCABCABC".getBytes());
}
try(HsInputStream hsi = new HsInputStream(new ByteArrayInutStream(baos.toByteArray()), windowSize, lookaheadSize)) {
byte[] res = new byte[512];
int len = hsi.read(res);
System.out.println(new String(res, 0, len));
}
```
### CLI
```bash
$ java -jar heatshrink-java-exe.jar [-h] [-e|-d] [-v] [-w SIZE] [-l BITS] [IN_FILE] [OUT_FILE]
```
## Status
[![Build Status](https://github.com/markrileybot/heatshrink-java/actions/workflows/gradle-publish.yml/badge.svg)](https://github.com/markrileybot/heatshrink-java/actions/workflows/gradle-publish.yml)
[![Coverage Status](https://coveralls.io/repos/github/markrileybot/heatshrink-java/badge.svg?branch=master)](https://coveralls.io/github/markrileybot/heatshrink-java?branch=master)
[![Maven Central](https://maven-badges.herokuapp.com/maven-central/io.github.markrileybot/geokey/badge.svg)](https://maven-badges.herokuapp.com/maven-central/io.github.markrileybot/geokey)
Artifact heatshrink-java
Group io.github.markrileybot
Version 1.0.1
Last update 19. October 2022
Tags: encode data usage hsoutputstream markrileybot used decode branch building artifact java herokuapp https write gradlew github read dependency maven byte lookaheadsize bits getbytes coveralls bytearrayoutputstream badge abcabcabcabcabcabc system size repos hsinputstream actions status string workflows baos search println library central in_file heatshrink coverage windowsize tobytearray bytearrayinutstream geokey master gradle badges build out_file publish atomicobject bash compressed
Organization not specified
URL https://github.com/markrileybot/heatshrink-java
License Apache License, Version 2.0
Dependencies amount 0
Dependencies No dependencies
There are maybe transitive dependencies!
Group io.github.markrileybot
Version 1.0.1
Last update 19. October 2022
Tags: encode data usage hsoutputstream markrileybot used decode branch building artifact java herokuapp https write gradlew github read dependency maven byte lookaheadsize bits getbytes coveralls bytearrayoutputstream badge abcabcabcabcabcabc system size repos hsinputstream actions status string workflows baos search println library central in_file heatshrink coverage windowsize tobytearray bytearrayinutstream geokey master gradle badges build out_file publish atomicobject bash compressed
Organization not specified
URL https://github.com/markrileybot/heatshrink-java
License Apache License, Version 2.0
Dependencies amount 0
Dependencies No dependencies
There are maybe transitive dependencies!
heatshrink-java from group io.github.markrileybot (version 1.0.0)
# heatshrink-java
Java library used to encode/decode [heatshrink](https://github.com/atomicobject/heatshrink) compressed data.
## Building
```bash
./gradlew build
```
## Gradle dependency
See https://search.maven.org/artifact/io.github.markrileybot/heatshrink-java/
## Usage
### Java library
```java
int windowSize = 9;
int lookaheadSize = 8;
ByteArrayOutputStream baos = new ByteArrayOutputStream();
try(HsOutputStream out = new HsOutputStream(baos, windowSize, lookaheadSize)) {
out.write("ABCABCABCABCABCABC".getBytes());
}
try(HsInputStream hsi = new HsInputStream(new ByteArrayInutStream(baos.toByteArray()), windowSize, lookaheadSize)) {
byte[] res = new byte[512];
int len = hsi.read(res);
System.out.println(new String(res, 0, len));
}
```
### CLI
```bash
$ java -jar heatshrink-java-exe.jar [-h] [-e|-d] [-v] [-w SIZE] [-l BITS] [IN_FILE] [OUT_FILE]
```
## Status
[![Build Status](https://github.com/markrileybot/heatshrink-java/actions/workflows/gradle-publish.yml/badge.svg)](https://github.com/markrileybot/heatshrink-java/actions/workflows/gradle-publish.yml)
[![Coverage Status](https://coveralls.io/repos/github/markrileybot/heatshrink-java/badge.svg?branch=master)](https://coveralls.io/github/markrileybot/heatshrink-java?branch=master)
[![Maven Central](https://maven-badges.herokuapp.com/maven-central/io.github.markrileybot/geokey/badge.svg)](https://maven-badges.herokuapp.com/maven-central/io.github.markrileybot/geokey)
Artifact heatshrink-java
Group io.github.markrileybot
Version 1.0.0
Last update 19. October 2022
Tags: encode data usage hsoutputstream markrileybot used decode building java compile repositories https write gradlew github read dependency maven byte lookaheadsize bits bintray getbytes dependencies bytearrayoutputstream badge abcabcabcabcabcabc groovy system size hsinputstream actions status string workflows baos println library in_file heatshrink mrileybot windowsize tobytearray bytearrayinutstream gradle build out_file publish bash atomicobject compressed
Organization not specified
URL https://github.com/markrileybot/heatshrink-java
License Apache License, Version 2.0
Dependencies amount 0
Dependencies No dependencies
There are maybe transitive dependencies!
Group io.github.markrileybot
Version 1.0.0
Last update 19. October 2022
Tags: encode data usage hsoutputstream markrileybot used decode building java compile repositories https write gradlew github read dependency maven byte lookaheadsize bits bintray getbytes dependencies bytearrayoutputstream badge abcabcabcabcabcabc groovy system size hsinputstream actions status string workflows baos println library in_file heatshrink mrileybot windowsize tobytearray bytearrayinutstream gradle build out_file publish bash atomicobject compressed
Organization not specified
URL https://github.com/markrileybot/heatshrink-java
License Apache License, Version 2.0
Dependencies amount 0
Dependencies No dependencies
There are maybe transitive dependencies!
Page 1 from 1 (items total 2)
© 2015 - 2025 Weber Informatics LLC | Privacy Policy