public class PDFDecoder extends 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 ByteBuffer |
decodeStream(PDFObject dict,
ByteBuffer streamBuf)
decode a byte[] stream using the filters specified in the object's
dictionary (passed as argument 1).
|
public static ByteBuffer decodeStream(PDFObject dict, ByteBuffer streamBuf) throws IOException
dict
- the dictionary associated with the streamstreamBuf
- the data in the stream, as a byte bufferIOException
Copyright © 2024. All rights reserved.