37 #ifndef VIRGIL_CRYPTO_VIRGIL_STREAM_DATA_SOURCE_H 38 #define VIRGIL_CRYPTO_VIRGIL_STREAM_DATA_SOURCE_H 42 #include "../VirgilByteArray.h" 43 #include "../VirgilDataSource.h" 45 namespace virgil {
namespace crypto {
namespace stream {
virtual bool hasData()
Overriding of VirgilDataSource::hasData() method.
virtual ~VirgilStreamDataSource() noexcept
Polymorphic destructor.
Root namespace for all Virgil Security libraries.
Definition: VirgilAsn1Compatible.h:46
std::vector< unsigned char > VirgilByteArray
This type represents a sequence of bytes.
Definition: VirgilByteArray.h:50
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