THPDFASCIIHexOddNibblePolicy Type
Selects how HPDFASCIIHexDecodeStream handles a final hexadecimal nibble without its pair
Declaration
THPDFASCIIHexOddNibblePolicy= (ahonPadLowZero, ahonReject);
Unit
HPDFTypes
Values
| Value | Meaning |
|---|---|
ahonPadLowZero |
Pad the trailing nibble with a low zero bit, emit the padded byte and set OddNibblePadded in the info record |
ahonReject |
Raise EConvertError reporting that the ASCIIHexDecode data ends with an odd final nibble |
Usage notes
- Passed to
HPDFASCIIHexDecodeStreamas theOddNibblePolicyparameter - Library call sites use
ahonPadLowZero, which matches the PDF filter behavior of treating a missing low nibble as zero