public final class DeflaterEstimatorHjg extends Object
Constructor and Description |
---|
DeflaterEstimatorHjg()
This object is stateless, it's thread safe and can be reused
|
Modifier and Type | Method and Description |
---|---|
int |
compressEstim(byte[] src) |
int |
compressEstim(byte[] src,
int srcOff,
int srcLen)
Estimates the length of the compressed bytes, as compressed by Lz4 WARNING: if larger than LZ4_64K_LIMIT it cuts it
in fragments
WARNING: if some part of the input is discarded, this should return the proportional (so that
returnValue/srcLen=compressionRatio)
|
public DeflaterEstimatorHjg()
public int compressEstim(byte[] src, int srcOff, int srcLen)
src
- srcOff
- srcLen
- public int compressEstim(byte[] src)
Copyright © 2014. All rights reserved.