public final class LZDecoder
extends java.lang.Object
Constructor and Description |
---|
LZDecoder(int dictSize,
byte[] presetDict,
ArrayCache arrayCache) |
Modifier and Type | Method and Description |
---|---|
void |
copyUncompressed(java.io.DataInputStream inData,
int len) |
int |
flush(byte[] out,
int outOff) |
int |
getByte(int dist) |
int |
getPos() |
boolean |
hasPending() |
boolean |
hasSpace() |
void |
putArraysToCache(ArrayCache arrayCache) |
void |
putByte(byte b) |
void |
repeat(int dist,
int len) |
void |
repeatPending() |
void |
reset() |
void |
setLimit(int outMax) |
public LZDecoder(int dictSize, byte[] presetDict, ArrayCache arrayCache)
public void putArraysToCache(ArrayCache arrayCache)
public void reset()
public void setLimit(int outMax)
public boolean hasSpace()
public boolean hasPending()
public int getPos()
public int getByte(int dist)
public void putByte(byte b)
public void repeat(int dist, int len) throws java.io.IOException
java.io.IOException
public void repeatPending() throws java.io.IOException
java.io.IOException
public void copyUncompressed(java.io.DataInputStream inData, int len) throws java.io.IOException
java.io.IOException
public int flush(byte[] out, int outOff)