| java.lang.Object com.sun.pdfview.decode.LZWDecode
LZWDecode | public class LZWDecode (Code) | | decode an LZW-encoded array of bytes. LZW is a patented algorithm.
Consult with Sun Legal before using this code in a commercial product.
author: Mike Wessler |
Method Summary | |
public static ByteBuffer | decode(ByteBuffer buf, PDFObject params) decode an array of LZW-encoded bytes to a byte array. |
CLEARDICT | static int CLEARDICT(Code) | | |
bitspercode | int bitspercode(Code) | | |
decode | public static ByteBuffer decode(ByteBuffer buf, PDFObject params) throws IOException(Code) | | decode an array of LZW-encoded bytes to a byte array.
Parameters: buf - the buffer of encoded bytes Parameters: params - parameters for the decoder (unused) the decoded uncompressed bytes |
|
|