public class LzwInputStream
extends java.io.InputStream
BitInputStream bit sizes.| Constructor and Description |
|---|
LzwInputStream(BitInputStream is)
Create the
LzwInputStream based on the given
BitInputStream. |
| Modifier and Type | Method and Description |
|---|---|
void |
clearData()
Provide necessary housekeeping to reset LZW stream between NuFX buffer changes.
|
void |
clearDictionary()
Clear out the dictionary.
|
void |
fillBuffer()
Fill the buffer up with some decompressed data.
|
int |
read()
Answer with the next byte from the (now) decompressed input stream.
|
public LzwInputStream(BitInputStream is)
LzwInputStream based on the given
BitInputStream.BitInputStreampublic int read()
throws java.io.IOException
read in class java.io.InputStreamjava.io.IOExceptionpublic void fillBuffer()
throws java.io.IOException
java.io.IOExceptionfor the general algorithmpublic void clearDictionary()
fillBuffer.public void clearData()