Definition at line 41 of file operations_encrypted.hpp.
Public Member Functions | |
| EncryptedReader (std::string filename, const SecretKey &key) | |
| Opens an existing dump file. | |
| void | Finish () override |
| Must be called once all data has been read. | |
| template<typename T> | |
| T | Read () |
| Reads binary data. | |
| dump::EncryptedReader::EncryptedReader | ( | std::string | filename, |
| const SecretKey & | key ) |
Opens an existing dump file.
| `Error` | on a filesystem error |
|
overridevirtual |
Must be called once all data has been read.
| `Error` | on read operation failure or if there is leftover data |
Implements dump::Reader.
|
inherited |
Reads binary data.
Calls ADL-found Read(reader, To<T>)
| `Error` | and any user-thrown std::exception |
Definition at line 127 of file operations.hpp.