com.badlogic.gdx.utils.compression.lz
Class BinTree

java.lang.Object
  extended by com.badlogic.gdx.utils.compression.lz.InWindow
      extended by 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
BinTree()
           
 
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)
           
 
Methods inherited from class com.badlogic.gdx.utils.compression.lz.InWindow
Create, GetIndexByte, GetMatchLen, GetNumAvailableBytes, MoveBlock, ReadBlock, ReduceOffsets, ReleaseStream, SetStream
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BinTree

public BinTree()
Method Detail

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.