com.badlogic.gdx.utils.compression.lz
Class BinTree
java.lang.Object
com.badlogic.gdx.utils.compression.lz.InWindow
com.badlogic.gdx.utils.compression.lz.BinTree
public class BinTree
- extends InWindow
Method Summary |
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)
|
BinTree
public BinTree()
SetType
public void SetType(int numHashBytes)
Init
public void Init()
throws IOException
- Overrides:
Init
in class InWindow
- Throws:
IOException
MovePos
public void MovePos()
throws IOException
- Overrides:
MovePos
in class InWindow
- Throws:
IOException
Create
public boolean Create(int historySize,
int keepAddBufferBefore,
int matchMaxLen,
int keepAddBufferAfter)
GetMatches
public int GetMatches(int[] distances)
throws IOException
- Throws:
IOException
Skip
public void Skip(int num)
throws IOException
- Throws:
IOException
SetCutValue
public void SetCutValue(int cutValue)
Copyright © 2013. All Rights Reserved.