Decompress RLE Data in Java
JDeli includes a filter option to decompress data in Java which was compressed using the RunLengthEncoding 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 RunLengthFilterOptions options = new RunLengthFilterOptions();
options.setMode(FilterOptions.FilterMode.DECOMPRESS);
JDeli.filter(final byte[] raw_data, final RunLengthFilterOptions options);
or
final RunLengthFilterOptions options = new RunLengthFilterOptions();
options.setMode(FilterOptions.FilterMode.DECOMPRESS);
JDeli.filter(final InputStream inputStream, final RunLengthFilterOptions options, final OutputStream outputStream);
FilterOptions allows setting of any supported Filter Options