public class BinTree extends InWindow
| Modifier and Type | Field and Description |
|---|---|
static int[] |
_CRCTable |
_blockSize, _bufferBase, _bufferOffset, _pos, _streamPos| Constructor and Description |
|---|
BinTree() |
| Modifier and Type | Method and Description |
|---|---|
void |
Create(int historySize,
int keepAddBufferBefore,
int matchMaxLen,
int keepAddBufferAfter) |
void |
DummyLongestMatch() |
int |
GetIndexByte(int index) |
int |
GetLongestMatch(int[] distances) |
int |
GetMatchLen(int index,
int distance,
int limit) |
int |
GetNumAvailableBytes() |
void |
Init(java.io.InputStream inStream) |
void |
MovePos() |
void |
ReleaseStream() |
void |
SetType(int numHashBytes,
boolean big) |
Create, MoveBlock, ReadBlock, ReduceOffsetspublic void SetType(int numHashBytes,
boolean big)
public void Init(java.io.InputStream inStream)
throws java.io.IOException
public void ReleaseStream()
ReleaseStream in class InWindowpublic void MovePos()
throws java.io.IOException
public int GetIndexByte(int index)
GetIndexByte in class InWindowpublic int GetMatchLen(int index,
int distance,
int limit)
GetMatchLen in class InWindowpublic int GetNumAvailableBytes()
GetNumAvailableBytes in class InWindowpublic void Create(int historySize,
int keepAddBufferBefore,
int matchMaxLen,
int keepAddBufferAfter)
public int GetLongestMatch(int[] distances)
public void DummyLongestMatch()