com.sun.pdfview.decode

Class ASCIIHexDecode

public class ASCIIHexDecode extends Object

decode an array of hex nybbles into a byte array
Method Summary
static ByteBufferdecode(ByteBuffer buf, PDFObject params)
decode an array of bytes in ASCIIHex format.

Method Detail

decode

public static ByteBuffer decode(ByteBuffer buf, PDFObject params)
decode an array of bytes in ASCIIHex format.

ASCIIHex format consists of a sequence of Hexidecimal digits, with possible whitespace, ending with the '>' character.

Parameters: buf the encoded ASCII85 characters in a byte buffer params parameters to the decoder (ignored)

Returns: the decoded bytes