java.lang.Object
org.glassfish.grizzly.compression.lzma.impl.lz.InWindow
- Direct Known Subclasses:
BinTree
InWindow
- Author:
- Igor Pavlov
-
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) voidvoid
-
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) -
setBuffer
-
releaseBuffer
public void releaseBuffer() -
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)
-