Q:
I can’t find StdFile in PDFNet 6.0. Can this be?
A:
One of the big changes which was introduced in PDFNet 6.0 is the ability to access a PDFDoc in parallel across many threads of execution. This was implemented to allow for new use cases (e.g. parallel rendering) and improved performance. In order to accommodate that change, we made a number of changes to the Filters interface.
StdFile is indeed gone. For file input, it’s been replaced by the MappedFile class, which uses memory mapping to provide thread-safe and efficient file I/O. For writing filters to disk, we’ve added the Filter::WriteToFile method, which will write the contents of the filter to the specified path.