lz4-java icon indicating copy to clipboard operation
lz4-java copied to clipboard

Support Compression / Decompression with Dictionaries

Open felixhandte opened this issue 8 years ago • 2 comments

The current LZ4 C lib supports priming the codec state with a dictionary (in a newer, nicer way). It would be nice to surface those features in this library.

I'm looking at adding this now.

felixhandte avatar Mar 09 '16 21:03 felixhandte

Has anyone made progress on this?

iSynaptic avatar Aug 28 '18 14:08 iSynaptic

The frame format has the option of using a dictionary id, but there is no setting for it in the FLG structure https://github.com/lz4/lz4-java/blob/master/src/java/net/jpountz/lz4/LZ4FrameOutputStream.java#L320

I can do this with zstd-jni and -5 debug level so that's good enough.

wsargent avatar Oct 09 '20 20:10 wsargent