Binary source backed by a shared secure byte buffer.
More...
#include <binary_source.hh>
Binary source backed by a shared secure byte buffer.
◆ BufferBinarySource()
| keepass::detail::BufferBinarySource::BufferBinarySource |
( |
std::shared_ptr< const SecureBytes > |
buffer, |
|
|
std::size_t |
offset, |
|
|
std::size_t |
size |
|
) |
| |
- Parameters
-
| buffer | Shared buffer holding the payload (and possibly other binaries). |
| offset | Offset of this payload inside buffer. |
| size | Payload size in bytes. |
◆ Read()
| void keepass::detail::BufferBinarySource::Read |
( |
std::size_t |
offset, |
|
|
void * |
dst, |
|
|
std::size_t |
size |
|
) |
| const |
|
overridevirtual |
◆ size()
| std::size_t keepass::detail::BufferBinarySource::size |
( |
| ) |
const |
|
inlineoverridevirtualnoexcept |
◆ WriteTo()
| void keepass::detail::BufferBinarySource::WriteTo |
( |
std::ostream & |
dst | ) |
const |
|
overridevirtual |
The documentation for this class was generated from the following file: