60cbe8b7b2
Motivation: Since the LZF support non-compress and compress format, we can let LzfEncoder support length aware ability. It can let the user control compress. Modification: When the data length over compressThreshold, LzfEncoder use compress format to compress data. Otherwise, only use non-compress format. Whatever compress format the encoder use, the LzfDecoder can decompress data well. Result: Gives users control over compression capabilities |
||
---|---|---|
.. | ||
main/java/io/netty/handler/codec | ||
test |