Decompress Ascii85 Data in Java
JDeli includes a filter option to decompress data in Java which was compressed using the AsciiHex algorithm. The decompress filter is written in 100% Java with no dependencies.
Key information:
- 100% Java solution. No dlls or dependencies on native code
- can be done in memory or on disk
How to decompress data in Java :
final ASCIIHexFilterOptions options = new ASCIIHexFilterOptions();
options.setMode(FilterOptions.FilterMode.DECOMPRESS);
JDeli.filter(final byte[] raw_data, final ASCIIHexFilterOptions options);
or
final ASCIIHexFilterOptions options = new ASCIIHexFilterOptions();
options.setMode(FilterOptions.FilterMode.DECOMPRESS);
JDeli.filter(final InputStream inputStream, final ASCIIHexFilterOptions options, final OutputStream outputStream);
or you can use the specific InputStream
final ASCIIHexInputStream inputStream = new ASCIIHexInputStream(new ByteArrayInputStream(encodedBytes));
byte[] inputStreamResult = inputStream.readAllBytes();
FilterOptions allows setting of any supported Filter Options