Package lzma.sdk.lz
Class BinTree
- java.lang.Object
-
- lzma.sdk.lz.InWindow
-
- lzma.sdk.lz.BinTree
-
public class BinTree extends InWindow
-
-
Constructor Summary
Constructors Constructor Description BinTree(int numHashBytes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
create(int historySize, int keepAddBufferBefore, int matchMaxLen, int keepAddBufferAfter)
int
getMatches(int[] distances)
void
init()
void
movePos()
void
skip(int num)
-
Methods inherited from class lzma.sdk.lz.InWindow
getIndexByte, getMatchLen, getNumAvailableBytes, releaseStream, setStream
-
-
-
-
Method Detail
-
init
public void init() throws IOException
- Throws:
IOException
-
movePos
public void movePos() throws IOException
- Throws:
IOException
-
create
public boolean create(int historySize, int keepAddBufferBefore, int matchMaxLen, int keepAddBufferAfter)
-
getMatches
public int getMatches(int[] distances) throws IOException
- Throws:
IOException
-
skip
public void skip(int num) throws IOException
- Throws:
IOException
-
-