THPDFASCIIHexDecodeInfo Record

Reports byte counts, EOD terminator detection, and odd-nibble padding collected while decoding an ASCIIHex stream

Declaration

THPDFASCIIHexDecodeInfo= record
  InputBytes: Int64;
  OutputBytes: Int64;
  TerminatorFound: boolean;
  OddNibblePadded: boolean;
end;

Unit

HPDFTypes

Fields

FieldPurpose
InputBytesCount of hex-encoded input bytes consumed by the decoder
OutputBytesCount of decoded bytes written to the output stream
TerminatorFoundTrue when the > EOD character closed the data; with RequireTerminator the decoder raises an error when it is missing
OddNibblePaddedTrue when the data ended mid-byte and the final nibble was zero-padded under ahonPadLowZero; the ahonReject policy raises instead

Usage notes

Related APIs