public class ASCII85Decode
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static java.nio.ByteBuffer |
decode(java.nio.ByteBuffer buf,
PDFObject params)
decode an array of bytes in ASCII85 format.
|
public static java.nio.ByteBuffer decode(java.nio.ByteBuffer buf,
PDFObject params)
throws PDFParseException
In ASCII85 format, every 5 characters represents 4 decoded bytes in base 85. The entire stream can contain whitespace, and ends in the characters '~>'.
buf - the encoded ASCII85 characters in a byte bufferparams - parameters to the decoder (ignored)PDFParseException