THotPDF.GetLastParserArenaStatistics

Returns allocation and reuse diagnostics for short-lived parser storage used by the most recent PDF load

Declaration

function GetLastParserArenaStatistics(
  out Statistics: THPDFParserArenaStatistics): boolean;

Return value

Returns True while the parser arena is available, including before the first load when all traffic counters are zero

Statistics

Lifetime

The arena stores only transient parser bytes; returned PDF objects, dictionary names, stream data, and other persistent values own their storage independently

See also: Scalable Loading, LoadFromStream, LoadFromRandomAccessSource