Construct a wrapper taking ownership of file, optionally obfuscating its data.
Declared in <streams.h>
explicit
AutoFile(
FILE* file,
Obfuscation const& obfuscation = {});
| 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. |