37 #ifndef VIRGIL_CRYPTO_VIRGIL_STREAM_DATA_SOURCE_H 
   38 #define VIRGIL_CRYPTO_VIRGIL_STREAM_DATA_SOURCE_H 
   42 #include <virgil/crypto/VirgilByteArray.h> 
   43 #include <virgil/crypto/VirgilDataSource.h> 
   45 namespace virgil { 
namespace crypto { 
namespace stream {
 
   75     virtual virgil::crypto::VirgilByteArray 
read();
 
virtual bool hasData()
Overriding of VirgilDataSource::hasData() method. 
 
virtual ~VirgilStreamDataSource()
Polymorphic destructor. 
 
Definition: VirgilAsn1Compatible.h:46
 
virtual virgil::crypto::VirgilByteArray read()
Overriding of VirgilDataSource::read() method. 
 
This is base class for input streams. 
Definition: VirgilDataSource.h:49
 
VirgilStreamDataSource(std::istream &in, size_t chunkSize=4096)
Creates data sink based on std::istream object. 
 
C++ stream implementation of the VirgilDataSource class. 
Definition: VirgilStreamDataSource.h:52