Package SevenZip.Compression.LZ
Class InWindow
java.lang.Object
SevenZip.Compression.LZ.InWindow
- Direct Known Subclasses:
BinTree
-
Field Summary
FieldsModifier and TypeFieldDescriptionintbyte[]intintint -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidCreate(int keepSizeBefore, int keepSizeAfter, int keepSizeReserv) byteGetIndexByte(int index) intGetMatchLen(int index, int distance, int limit) intvoidInit()voidvoidMovePos()voidvoidReduceOffsets(int subValue) voidvoidSetStream(InputStream stream)
-
Field Details
-
_bufferBase
public byte[] _bufferBase -
_bufferOffset
public int _bufferOffset -
_blockSize
public int _blockSize -
_pos
public int _pos -
_streamPos
public int _streamPos
-
-
Constructor Details
-
InWindow
public InWindow()
-
-
Method Details
-
MoveBlock
public void MoveBlock() -
ReadBlock
- Throws:
IOException
-
Create
public void Create(int keepSizeBefore, int keepSizeAfter, int keepSizeReserv) -
SetStream
-
ReleaseStream
public void ReleaseStream() -
Init
- Throws:
IOException
-
MovePos
- Throws:
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)
-