Boost logo

Boost Users :

Subject: [Boost-users] [Interprocess] [file_mapping] is there any way to avoid writing a modified file to disc?
From: Thorsten Ottosen (thorsten.ottosen_at_[hidden])
Date: 2011-12-07 08:19:26


Hi,

I'm using file_mapping/mapped_region with Boost 1.45. My idea was to
load the memory mapped file in read/write mode and then decrypt the
file content in-place (to avoid copying the entire file content).
However, this will save a decrypted file :-(

Is there any way to avoid the file being saved after in-memory manipulation?

-Thorsten


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net