public final class DeflaterEstimatorLz4 extends Object
| Constructor and Description |
|---|
DeflaterEstimatorLz4()
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 DeflaterEstimatorLz4()
public int compressEstim(byte[] src,
int srcOff,
int srcLen)
src - srcOff - srcLen - public int compressEstim(byte[] src)
Copyright © 2014. All rights reserved.