SevenZip.Compression.LZ
Class BinTree

java.lang.Object
  extended by SevenZip.Compression.LZ.InWindow
      extended by SevenZip.Compression.LZ.BinTree

public class BinTree
extends InWindow


Field Summary
static int[] _CRCTable
           
 
Fields inherited from class SevenZip.Compression.LZ.InWindow
_blockSize, _bufferBase, _bufferOffset, _pos, _streamPos
 
Constructor Summary
BinTree()
           
 
Method Summary
 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)
           
 
Methods inherited from class SevenZip.Compression.LZ.InWindow
Create, MoveBlock, ReadBlock, ReduceOffsets
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_CRCTable

public static int[] _CRCTable
Constructor Detail

BinTree

public BinTree()
Method Detail

SetType

public void SetType(int numHashBytes,
                    boolean big)

Init

public void Init(java.io.InputStream inStream)
          throws java.io.IOException
Overrides:
Init in class InWindow
Throws:
java.io.IOException

ReleaseStream

public void ReleaseStream()
Overrides:
ReleaseStream in class InWindow

MovePos

public void MovePos()
             throws java.io.IOException
Overrides:
MovePos in class InWindow
Throws:
java.io.IOException

GetIndexByte

public int GetIndexByte(int index)
Overrides:
GetIndexByte in class InWindow

GetMatchLen

public int GetMatchLen(int index,
                       int distance,
                       int limit)
Overrides:
GetMatchLen in class InWindow

GetNumAvailableBytes

public int GetNumAvailableBytes()
Overrides:
GetNumAvailableBytes in class InWindow

Create

public void Create(int historySize,
                   int keepAddBufferBefore,
                   int matchMaxLen,
                   int keepAddBufferAfter)

GetLongestMatch

public int GetLongestMatch(int[] distances)

DummyLongestMatch

public void DummyLongestMatch()