THPDFASCII85DecodeInfo Record
Reports byte counts, EOD terminator detection and group progress collected whilst decoding an ASCII85 stream
Declaration
THPDFASCII85DecodeInfo= record
InputBytes: Int64;
OutputBytes: Int64;
TerminatorFound: boolean;
PartialGroupLength: Integer;
ZeroShortcutCount: Integer;
end;
Unit
HPDFTypes
Fields
| Field | Purpose |
|---|---|
InputBytes | Count of encoded input bytes consumed by the decoder |
OutputBytes | Count of decoded bytes written to the output stream |
TerminatorFound | True once the ~> EOD marker is seen; when RequireTerminator is set the decoder raises an error should the marker be missing |
PartialGroupLength | Length of the trailing partial five-character group pending when the terminator was reached |
ZeroShortcutCount | Number of z zero-shortcut characters processed |
Usage notes
- Passed as the
Infoout parameter of HPDFASCII85DecodeStream alongside the decoded output stream - The loaded-document filter chain fills a local record when expanding
ASCII85Decodestreams before further filters run - Check
TerminatorFoundbefore trusting the output from streams decoded with a lenient terminator policy