On Tuesday, June 26, 2018 at 2:13:25 AM UTC-4, Martin wrote:
>
> ...
>
> Question:
>
> FileSource(<src>, true, new AuthenticatedEncryptionFilter(e, new 
> FileSink(<ofs>)));
>
> FileSink (std::ostream &out)
>
> Will CryptoPP::FileSink overwriter previous byte stream of <ofs>?
>

The FileSInk opens the stream using the default ostream flags. It should 
truncate an existing file to 0. Also see 
https://stackoverflow.com/q/39256916/608639 .

Jeff

-- 
You received this message because you are subscribed to "Crypto++ Users". More 
information about Crypto++ and this group is available at 
http://www.cryptopp.com and 
http://groups.google.com/forum/#!forum/cryptopp-users.
--- 
You received this message because you are subscribed to the Google Groups 
"Crypto++ Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to