java.lang.Object
org.glassfish.grizzly.compression.lzma.impl.Encoder
RangeEncoder
- Author:
- Igor Pavlov
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcode(LZMAEncoder.LZMAOutputState state, long inSize, long outSize) voidcodeOneBlock(long[] inSize, long[] outSize, boolean[] finished) booleansetAlgorithm(int algorithm) booleansetDictionarySize(int dictionarySize) voidsetEndMarkerMode(boolean endMarkerMode) booleansetLcLpPb(int lc, int lp, int pb) booleansetMatchFinder(int matchFinderIndex) booleansetNumFastBytes(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)
-