LZ4 compression and decompression routines.
The high-compression option is a simpler version of the one of the original
algorithm, and only retains a better hash table that remembers about more
occurrences of a previous 4-bytes sequence, and removes all the logic about
handling of the case when overlapping matches are found.
public static int decompress(DataInput compressed,
Decompress at least decompressedLen bytes into
dest[dOff:]. Please note that dest must be large
enough to be able to hold all decompressed data (meaning that you
need to know the total decompressed length).