THotPDF.GetLoadedObjectStreamCacheInfo
Returns lazy /Type /ObjStm indexing and materialisation statistics for the current loaded document
Declaration
function GetLoadedObjectStreamCacheInfo(
out Info: THPDFObjectStreamCacheInfo): Boolean;
Fields
ContainerCountcounts decoded object-stream containersIndexedObjectCountcounts authoritative type-2 xref members indexed by object numberMaterializedObjectCountcounts members whose object bodies have been parsedCacheHitCountandCacheMissCountreport repeated and first-time member resolutionsCachedBytesreports decoded container bytes retained for member slicingMaximumBytesandPeakCachedBytesreport the configured limit and highest transient decoded occupancyEvictionCountandReloadCountreport per-container LRU removals and later source-backed reloads
The method returns False for documents without object streams and still clears every field in Info
DecompressAllObjectStreams intentionally brings MaterializedObjectCount up to IndexedObjectCount
See also: Bounded Object-Stream Cache, ObjectStreamCacheMaxBytes, Scalable Loading, DecompressAllObjectStreams