Maven module :un.api : api-encoding :
Class : un.impl.io.lzma.Encoder
Extends/Implements : -
Subclasses : -

From 7-ZIP SDK, placed under public domain.
http://www.7-zip.org/sdk.html
author  Igor Pavlov


Variables : EMatchFinderTypeBT2, EMatchFinderTypeBT4, kNumLenSpecSymbols, kPropSize
Functions : getPosSlot, getPosSlot2, baseInit, create, Encoder, setWriteEndMarkerMode, init, readMatchDistances, movePos, getRepLen1Price, getPureRepPrice, getRepPrice, getPosLenPrice, backward, getOptimum, changePair, writeEndMarker, flush, codeOneBlock, releaseMFStream, setOutStream, releaseOutStream, releaseStreams, setStreams, code, writeCoderProperties, fillDistancesPrices, fillAlignPrices, setAlgorithm, setDictionarySize, setNumFastBytes, setMatchFinder, setLcLpPb, setEndMarkerMode


public int EMatchFinderTypeBT2

public int EMatchFinderTypeBT4

public int kNumLenSpecSymbols

public int kPropSize


int getPosSlot (int pos)

int getPosSlot2 (int pos)

void baseInit ()

void create ()

public void Encoder ()

void setWriteEndMarkerMode (boolean writeEndMarker)

void init ()

int readMatchDistances ()

void movePos (int num)

int getRepLen1Price (int state, int posState)

int getPureRepPrice (int repIndex, int state, int posState)

int getRepPrice (int repIndex, int len, int state, int posState)

int getPosLenPrice (int pos, int len, int posState)

int backward (int cur)

int getOptimum (int position)

boolean changePair (int smallDist, int bigDist)

void writeEndMarker (int posState)

void flush (int nowPos)

public void codeOneBlock (long[] inSize, long[] outSize, boolean[] finished)

void releaseMFStream ()

void setOutStream (ByteOutputStream outStream)

void releaseOutStream ()

void releaseStreams ()

void setStreams (ByteInputStream inStream, ByteOutputStream outStream, long inSize, long outSize)

public void code (ByteInputStream inStream, ByteOutputStream outStream, long inSize, long outSize, ICodeProgress progress)

public void writeCoderProperties (ByteOutputStream outStream)

void fillDistancesPrices ()

void fillAlignPrices ()

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)