public class HDGFLZW extends LZWDecompresser
| Constructor and Description |
|---|
HDGFLZW() |
| Modifier and Type | Method and Description |
|---|---|
protected int |
adjustDictionaryOffset(int pntr)
We have a slight shift by 18 bytes
|
byte[] |
compress(java.io.InputStream src)
Compress the given input stream, returning the array of bytes
of the compressed input
|
void |
compress(java.io.InputStream src,
java.io.OutputStream res)
Performs the Visio compatible streaming LZW compression.
|
protected int |
populateDictionary(byte[] dict)
We want an empty dictionary, so do nothing
|
decompress, decompress, fromByte, fromIntpublic byte[] compress(java.io.InputStream src)
throws java.io.IOException
java.io.IOExceptionprotected int adjustDictionaryOffset(int pntr)
adjustDictionaryOffset in class LZWDecompresserprotected int populateDictionary(byte[] dict)
populateDictionary in class LZWDecompresserpublic void compress(java.io.InputStream src,
java.io.OutputStream res)
throws java.io.IOException
java.io.IOExceptionCopyright 2018 The Apache Software Foundation or its licensors, as applicable.