public class LZWStringTable extends Object
expandCode added by Robin Luiten
The strLen table to give quick access to the lenght of an expanded
code for use by the expandCode method added by Robin.| Constructor and Description |
|---|
LZWStringTable() |
| Modifier and Type | Method and Description |
|---|---|
int |
addCharString(short index,
byte b) |
void |
clearTable(int codesize) |
void |
dump(PrintStream out) |
int |
expandCode(byte[] buf,
int offset,
short code,
int skipHead) |
short |
findCharString(short index,
byte b) |
static int |
hash(short index,
byte lastbyte) |
public int addCharString(short index,
byte b)
public short findCharString(short index,
byte b)
public void clearTable(int codesize)
public static int hash(short index,
byte lastbyte)
public int expandCode(byte[] buf,
int offset,
short code,
int skipHead)
public void dump(PrintStream out)
Copyright © 2003–2018 eXo Platform SAS. All rights reserved.