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)
           
 int GetIndexByte(int index)
           
 int GetMatchLen(int index, int distance, int limit)
           
 int GetNumAvailableBytes()
           
 void Init(java.io.InputStream stream)
           
 void MoveBlock()
           
 void MovePos()
           
 void ReadBlock()
           
 void ReduceOffsets(int subValue)
           
 void ReleaseStream()
           
 
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)

Init

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

ReleaseStream

public void ReleaseStream()

MovePos

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

GetIndexByte

public int GetIndexByte(int index)

GetMatchLen

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

GetNumAvailableBytes

public int GetNumAvailableBytes()

ReduceOffsets

public void ReduceOffsets(int subValue)