Class BinTree
- java.lang.Object
-
- com.badlogic.gdx.utils.compression.lz.InWindow
-
- com.badlogic.gdx.utils.compression.lz.BinTree
-
public class BinTree extends InWindow
-
-
Field Summary
-
Fields inherited from class com.badlogic.gdx.utils.compression.lz.InWindow
_blockSize, _bufferBase, _bufferOffset, _pos, _streamPos
-
-
Constructor Summary
Constructors Constructor Description BinTree()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
Create(int historySize, int keepAddBufferBefore, int matchMaxLen, int keepAddBufferAfter)
int
GetMatches(int[] distances)
void
Init()
void
MovePos()
void
SetCutValue(int cutValue)
void
SetType(int numHashBytes)
void
Skip(int num)
-
Methods inherited from class com.badlogic.gdx.utils.compression.lz.InWindow
Create, GetIndexByte, GetMatchLen, GetNumAvailableBytes, MoveBlock, ReadBlock, ReduceOffsets, ReleaseStream, SetStream
-
-
-
-
Method Detail
-
SetType
public void SetType(int numHashBytes)
-
Init
public void Init() throws java.io.IOException
-
MovePos
public void MovePos() throws java.io.IOException
-
Create
public boolean Create(int historySize, int keepAddBufferBefore, int matchMaxLen, int keepAddBufferAfter)
-
GetMatches
public int GetMatches(int[] distances) throws java.io.IOException
- Throws:
java.io.IOException
-
Skip
public void Skip(int num) throws java.io.IOException
- Throws:
java.io.IOException
-
SetCutValue
public void SetCutValue(int cutValue)
-
-