Package org.loboevolution.pdfview.decode
Class ASCIIHexDecode
java.lang.Object
org.loboevolution.pdfview.decode.ASCIIHexDecode
decode an array of hex nybbles into a byte array
Author Mike Wessler
-
Method Summary
Modifier and TypeMethodDescriptionstatic ByteBuffer
decode
(ByteBuffer buf, PDFObject params) decode an array of bytes in ASCIIHex format.
-
Method Details
-
decode
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 bufferparams
- parameters to the decoder (ignored)- Returns:
- the decoded bytes
- Throws:
PDFParseException
- if any.
-