java.lang.Object
org.glassfish.grizzly.compression.lzma.impl.Encoder
RangeEncoder
- Author:
- Igor Pavlov
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
code
(LZMAEncoder.LZMAOutputState state, long inSize, long outSize) void
codeOneBlock
(long[] inSize, long[] outSize, boolean[] finished) boolean
setAlgorithm
(int algorithm) boolean
setDictionarySize
(int dictionarySize) void
setEndMarkerMode
(boolean endMarkerMode) boolean
setLcLpPb
(int lc, int lp, int pb) boolean
setMatchFinder
(int matchFinderIndex) boolean
setNumFastBytes
(int numFastBytes) void
-
Field Details
-
EMatchFinderTypeBT2
public static final int EMatchFinderTypeBT2- See Also:
-
EMatchFinderTypeBT4
public static final int EMatchFinderTypeBT4- See Also:
-
kNumLenSpecSymbols
public static final int kNumLenSpecSymbols- See Also:
-
-
Constructor Details
-
Encoder
public Encoder()
-
-
Method Details
-
codeOneBlock
- Throws:
IOException
-
code
- Throws:
IOException
-
writeCoderProperties
- Throws:
IOException
-
setAlgorithm
public boolean setAlgorithm(int algorithm) -
setDictionarySize
public boolean setDictionarySize(int dictionarySize) -
setNumFastBytes
public boolean setNumFastBytes(int numFastBytes) -
setMatchFinder
public boolean setMatchFinder(int matchFinderIndex) -
setLcLpPb
public boolean setLcLpPb(int lc, int lp, int pb) -
setEndMarkerMode
public void setEndMarkerMode(boolean endMarkerMode)
-