Virgil Security Crypto library
2.0.7
|
C++ stream implementation of the VirgilDataSource class. More...
#include <VirgilStreamDataSource.h>
Public Member Functions | |
VirgilStreamDataSource (std::istream &in, size_t chunkSize=4096) | |
Creates data sink based on std::istream object. More... | |
virtual | ~VirgilStreamDataSource () noexcept |
Polymorphic destructor. | |
virtual bool | hasData () |
Overriding of VirgilDataSource::hasData() method. | |
virtual virgil::crypto::VirgilByteArray | read () |
Overriding of VirgilDataSource::read() method. | |
C++ stream implementation of the VirgilDataSource class.
|
explicit |
Creates data sink based on std::istream object.
in | - input stream. |
chunkSize | - size of the data that will be returned by read() method. Note, the real value may be different from the given value, it is only recommendation. |