HPDFASCIIHexDecodeStream Procedure

Decodes ASCIIHex data incrementally from one caller-owned stream to another

Declaration

procedure HPDFASCIIHexDecodeStream(Input, Output: TStream;
  RequireTerminator: Boolean; OddNibblePolicy: THPDFASCIIHexOddNibblePolicy;
  out Info: THPDFASCIIHexDecodeInfo);

Unit

HPDFTypes

Parameters

NamePurpose
InputASCIIHex source at its current position
OutputDestination that receives decoded bytes at its current position
RequireTerminatorRequires the PDF > end marker when True
OddNibblePolicyPads the low nibble with zero or rejects an odd final nibble
InfoReceives consumed and produced byte counts plus terminator and padding diagnostics

Usage notes

Related APIs