[#AutoFile-2constructor-05] = xref:AutoFile.adoc[AutoFile]::AutoFile :relfileprefix: ../ :mrdocs: Construct a wrapper taking ownership of `file`, optionally obfuscating its data. == Synopsis Declared in `<streams.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- explicit AutoFile( FILE* file, xref:Obfuscation.adoc[Obfuscation] const& obfuscation = {}); ---- == Parameters [cols="1,4"] |=== | Name| Description | *file* | C file handle to take ownership of; may be nullptr. | *obfuscation* | XOR key applied to data as it is read or written. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#