public class Encoder extends Object
Modifier and Type | Field and Description |
---|---|
static int |
EMatchFinderTypeBT2 |
static int |
EMatchFinderTypeBT4 |
static int |
kNumLenSpecSymbols |
Constructor and Description |
---|
Encoder() |
Modifier and Type | Method and Description |
---|---|
void |
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 |
writeCoderProperties(Buffer dst) |
public static final int EMatchFinderTypeBT2
public static final int EMatchFinderTypeBT4
public static final int kNumLenSpecSymbols
public void codeOneBlock(long[] inSize, long[] outSize, boolean[] finished) throws IOException
IOException
public void code(LZMAEncoder.LZMAOutputState state, long inSize, long outSize) throws IOException
IOException
public void writeCoderProperties(Buffer dst) throws IOException
IOException
public boolean setAlgorithm(int algorithm)
public boolean setDictionarySize(int dictionarySize)
public boolean setNumFastBytes(int numFastBytes)
public boolean setMatchFinder(int matchFinderIndex)
public boolean setLcLpPb(int lc, int lp, int pb)
public void setEndMarkerMode(boolean endMarkerMode)
Copyright © 2015 Oracle Corporation. All rights reserved.