Class Encoder
- java.lang.Object
-
- com.badlogic.gdx.utils.compression.lzma.Encoder
-
public class Encoder extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static int
EMatchFinderTypeBT2
static int
EMatchFinderTypeBT4
static int
kNumLenSpecSymbols
static int
kPropSize
-
Constructor Summary
Constructors Constructor Description Encoder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
Code(java.io.InputStream inStream, java.io.OutputStream outStream, long inSize, long outSize, ICodeProgress progress)
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
WriteCoderProperties(java.io.OutputStream outStream)
-
-
-
Field Detail
-
EMatchFinderTypeBT2
public static final int EMatchFinderTypeBT2
- See Also:
- Constant Field Values
-
EMatchFinderTypeBT4
public static final int EMatchFinderTypeBT4
- See Also:
- Constant Field Values
-
kNumLenSpecSymbols
public static final int kNumLenSpecSymbols
- See Also:
- Constant Field Values
-
kPropSize
public static final int kPropSize
- See Also:
- Constant Field Values
-
-
Method Detail
-
CodeOneBlock
public void CodeOneBlock(long[] inSize, long[] outSize, boolean[] finished) throws java.io.IOException
- Throws:
java.io.IOException
-
Code
public void Code(java.io.InputStream inStream, java.io.OutputStream outStream, long inSize, long outSize, ICodeProgress progress) throws java.io.IOException
- Throws:
java.io.IOException
-
WriteCoderProperties
public void WriteCoderProperties(java.io.OutputStream outStream) throws java.io.IOException
- Throws:
java.io.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)
-
-