Class InWindow
- java.lang.Object
-
- com.badlogic.gdx.utils.compression.lz.InWindow
-
- Direct Known Subclasses:
BinTree
public class InWindow extends java.lang.Object
-
-
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
ReleaseStream()
void
SetStream(java.io.InputStream stream)
-
-
-
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)
-
SetStream
public void SetStream(java.io.InputStream stream)
-
ReleaseStream
public void ReleaseStream()
-
Init
public void Init() throws java.io.IOException
- Throws:
java.io.IOException
-
MovePos
public void MovePos() throws java.io.IOException
- Throws:
java.io.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)
-
-