THPDFLazyFileStream

Top  Previous  Next

THPDFLazyFileStream keeps immutable content on a source-file range until the first mutation

 

Unit

HPDFObjs.pas

 

Description

Read-only operations use the original file or mapped-file slice without copying the body

The first write materialises small streams in memory and large streams in an owned THPDFCompressedSpillStream with independently compressed blocks and bounded asynchronous writes

GetSpillStatistics returns logical and physical bytes, current block counts, asynchronous batch traffic, and producer backpressure for a materialised spill stream