public class FlateDecode
extends java.lang.Object
Constructor and Description |
---|
FlateDecode() |
Modifier and Type | Method and Description |
---|---|
static java.nio.ByteBuffer |
decode(PDFObject dict,
java.nio.ByteBuffer buf,
PDFObject params)
decode a byte buffer in Flate format.
|
public static java.nio.ByteBuffer decode(PDFObject dict, java.nio.ByteBuffer buf, PDFObject params) throws java.io.IOException
Flate is a built-in Java algorithm. It's part of the java.util.zip package.
buf
- the deflated input bufferparams
- parameters to the decoder (unused)java.io.IOException