public final class LZDecoder extends Object
| Constructor and Description |
|---|
LZDecoder(int dictSize,
byte[] presetDict,
ArrayCache arrayCache) |
| Modifier and Type | Method and Description |
|---|---|
void |
copyUncompressed(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 IOException
IOExceptionpublic void repeatPending()
throws IOException
IOExceptionpublic void copyUncompressed(DataInputStream inData, int len) throws IOException
IOExceptionpublic int flush(byte[] out,
int outOff)