com.badlogic.gdx.utils.compression.lzma
Class Encoder

java.lang.Object
  extended by com.badlogic.gdx.utils.compression.lzma.Encoder

public class Encoder
extends Object


Field Summary
static int EMatchFinderTypeBT2
           
static int EMatchFinderTypeBT4
           
static int kNumLenSpecSymbols
           
static int kPropSize
           
 
Constructor Summary
Encoder()
           
 
Method Summary
 void Code(InputStream inStream, 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(OutputStream outStream)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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
Constructor Detail

Encoder

public Encoder()
Method Detail

CodeOneBlock

public void CodeOneBlock(long[] inSize,
                         long[] outSize,
                         boolean[] finished)
                  throws IOException
Throws:
IOException

Code

public void Code(InputStream inStream,
                 OutputStream outStream,
                 long inSize,
                 long outSize,
                 ICodeProgress progress)
          throws IOException
Throws:
IOException

WriteCoderProperties

public void WriteCoderProperties(OutputStream outStream)
                          throws IOException
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)


Copyright © 2013. All Rights Reserved.