class GIFImageLoader2.LZWDecoder
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private byte[] |
block |
private int |
blockLength |
private int |
blockPos |
private int |
clearCode |
private int |
codeMask |
private int |
codeSize |
private int |
eofCode |
private int |
inBits |
private int |
inData |
private int |
initCodeSize |
private byte[] |
initial |
private int[] |
length |
private int |
oldCode |
private int[] |
prefix |
private byte[] |
string |
private byte[] |
suffix |
private int |
tableIndex |
Constructor and Description |
---|
LZWDecoder() |
Modifier and Type | Method and Description |
---|---|
private int |
getCode() |
byte[] |
getString() |
private void |
initTable() |
private int |
nextByte() |
private void |
readData() |
int |
readString() |
void |
waitForTerminator() |
private final int initCodeSize
private final int clearCode
private final int eofCode
private int codeSize
private int codeMask
private int tableIndex
private int oldCode
private int blockLength
private int blockPos
private byte[] block
private int inData
private int inBits
private int[] prefix
private byte[] suffix
private byte[] initial
private int[] length
private byte[] string
public LZWDecoder() throws java.io.IOException
java.io.IOException
public final int readString() throws java.io.IOException
java.io.IOException
public final byte[] getString()
public final void waitForTerminator() throws java.io.IOException
java.io.IOException
private void initTable()
private int getCode() throws java.io.IOException
java.io.IOException
private int nextByte() throws java.io.IOException
java.io.IOException
private void readData() throws java.io.IOException
java.io.IOException