public class PDFDecoder
extends java.lang.Object
You should use the decodeStream() method of this object rather than using any of the decoders directly.
Modifier and Type | Method and Description |
---|---|
static java.nio.ByteBuffer |
decodeStream(PDFObject dict,
java.nio.ByteBuffer streamBuf)
decode a byte[] stream using the filters specified in the object's
dictionary (passed as argument 1).
|
public static java.nio.ByteBuffer decodeStream(PDFObject dict, java.nio.ByteBuffer streamBuf) throws java.io.IOException
dict
- the dictionary associated with the streamstreamBuf
- the data in the stream, as a byte bufferjava.io.IOException