Definition at line 38 of file operations_encrypted.hpp.
|
| 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.
|
|
◆ EncryptedReader()
dump::EncryptedReader::EncryptedReader |
( |
std::string | filename, |
|
|
const SecretKey & | key ) |
Opens an existing dump file.
- Exceptions
-
`Error` | on a filesystem error |
◆ Finish()
void dump::EncryptedReader::Finish |
( |
| ) |
|
|
overridevirtual |
Must be called once all data has been read.
- Warning
- This method must not be called from within
Write
/Read
- Exceptions
-
`Error` | on read operation failure or if there is leftover data |
Implements dump::Reader.
◆ Read()
Reads binary data.
Calls ADL-found Read(reader, To<T>)
- Exceptions
-
`Error` | and any user-thrown std::exception |
Definition at line 116 of file operations.hpp.
The documentation for this class was generated from the following file: