Class InWindow
- java.lang.Object
-
- org.glassfish.grizzly.compression.lzma.impl.lz.InWindow
-
-
Field Summary
Fields Modifier and Type Field Description int
_blockSize
byte[]
_bufferBase
int
_bufferOffset
int
_pos
int
_streamPos
-
Constructor Summary
Constructors Constructor Description InWindow()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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
releaseBuffer()
void
setBuffer(Buffer buffer)
-
-
-
Method Detail
-
moveBlock
public void moveBlock()
-
readBlock
public void readBlock() throws IOException
- Throws:
IOException
-
create
public void create(int keepSizeBefore, int keepSizeAfter, int keepSizeReserv)
-
setBuffer
public void setBuffer(Buffer buffer)
-
releaseBuffer
public void releaseBuffer()
-
init
public void init() throws IOException
- Throws:
IOException
-
movePos
public void movePos() throws IOException
- 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)
-
-