THPDFLazyFileStream

Top  Previous  Next

THPDFLazyFileStream represents a stream object that lazily loads file content

 

Unit

HPDFDoc.pas

 

Description

Use THPDFLazyFileStream to reduce memory consumption when working with large files by loading content only when needed

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