public class HDGFLZW extends LZWDecompresser
Constructor | Description |
---|---|
HDGFLZW() |
Modifier and Type | Method | 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, fromInt
public byte[] compress(java.io.InputStream src) throws java.io.IOException
java.io.IOException
protected int adjustDictionaryOffset(int pntr)
adjustDictionaryOffset
in class LZWDecompresser
protected int populateDictionary(byte[] dict)
populateDictionary
in class LZWDecompresser
public void compress(java.io.InputStream src, java.io.OutputStream res) throws java.io.IOException
java.io.IOException
Copyright 2018 The Apache Software Foundation or its licensors, as applicable.