public abstract class LZWDecompresser
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
byte[] |
decompress(java.io.InputStream src)
Decompresses the given input stream, returning the array of bytes
of the decompressed input.
|
void |
decompress(java.io.InputStream src,
java.io.OutputStream res)
Perform a streaming decompression of the input.
|
static int |
fromByte(byte b)
Given a java byte, turn it into an integer between 0
and 255 (i.e.
|
static byte |
fromInt(int b)
Given an integer, turn it into a java byte, handling
the wrapping.
|
public byte[] decompress(java.io.InputStream src) throws java.io.IOException
java.io.IOException
public void decompress(java.io.InputStream src, java.io.OutputStream res) throws java.io.IOException
java.io.IOException
public static byte fromInt(int b)
public static int fromByte(byte b)
Copyright © 2010 - 2019 Adobe. All Rights Reserved