Package SevenZip.Compression.LZ
Class InWindow
java.lang.Object
SevenZip.Compression.LZ.InWindow
- Direct Known Subclasses:
BinTree
-
Field Summary
Modifier and TypeFieldDescriptionint
byte[]
int
int
int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Create
(int keepSizeBefore, int keepSizeAfter, int keepSizeReserv) byte
GetIndexByte
(int index) int
GetMatchLen
(int index, int distance, int limit) int
void
Init()
void
void
MovePos()
void
void
ReduceOffsets
(int subValue) void
void
SetStream
(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)
-