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(InputStream src)
Compress the given input stream, returning the array of bytes
of the compressed input
|
void |
compress(InputStream src,
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, fromInt
public byte[] compress(InputStream src) throws IOException
IOException
protected int adjustDictionaryOffset(int pntr)
adjustDictionaryOffset
in class LZWDecompresser
protected int populateDictionary(byte[] dict)
populateDictionary
in class LZWDecompresser
public void compress(InputStream src, OutputStream res) throws IOException
IOException
Copyright © 2020. All rights reserved.