SevenZip.Compression.LZ
Class InWindow

java.lang.Object
  extended by SevenZip.Compression.LZ.InWindow
Direct Known Subclasses:
BinTree

public class InWindow
extends java.lang.Object


Field Summary
 int _blockSize
           
 byte[] _bufferBase
           
 int _bufferOffset
           
 int _pos
           
 int _streamPos
           
 
Constructor Summary
InWindow()
           
 
Method Summary
 void Create(int keepSizeBefore, int keepSizeAfter, int keepSizeReserv)
           
 byte GetIndexByte(int index)
           
 int GetMatchLen(int index, int distance, int limit)
           
 int GetNumAvailableBytes()
           
 void Init()
           
 void MoveBlock()
           
 void MovePos()
           
 void ReadBlock()
           
 void ReduceOffsets(int subValue)
           
 void ReleaseStream()
           
 void SetStream(java.io.InputStream stream)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_bufferBase

public byte[] _bufferBase

_bufferOffset

public int _bufferOffset

_blockSize

public int _blockSize

_pos

public int _pos

_streamPos

public int _streamPos
Constructor Detail

InWindow

public InWindow()
Method Detail

MoveBlock

public void MoveBlock()

ReadBlock

public void ReadBlock()
               throws java.io.IOException
Throws:
java.io.IOException

Create

public void Create(int keepSizeBefore,
                   int keepSizeAfter,
                   int keepSizeReserv)

SetStream

public void SetStream(java.io.InputStream stream)

ReleaseStream

public void ReleaseStream()

Init

public void Init()
          throws java.io.IOException
Throws:
java.io.IOException

MovePos

public void MovePos()
             throws java.io.IOException
Throws:
java.io.IOException

GetIndexByte

public byte GetIndexByte(int index)

GetMatchLen

public int GetMatchLen(int index,
                       int distance,
                       int limit)

GetNumAvailableBytes

public int GetNumAvailableBytes()

ReduceOffsets

public void ReduceOffsets(int subValue)