public class HDGFLZW extends LZWDecompresser
Constructor and Description |
---|
HDGFLZW() |
Modifier and Type | Method and Description |
---|---|
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.
|
decompress, decompress, fromByte, fromInt
public byte[] compress(InputStream src) throws IOException
src
- the compression source byteIOException
- when the InputStream can't be readpublic void compress(InputStream src, OutputStream res) throws IOException
src
- the input bytes for the compressionres
- the OutputStream which receives the compressed bytesIOException
- when the InputStream can't be read
or the OutputStream can't be written toCopyright © 2010 - 2020 Adobe. All Rights Reserved