37 #ifndef VIRGIL_CRYPTO_VIRGIL_STREAM_DATA_SINK_H
38 #define VIRGIL_CRYPTO_VIRGIL_STREAM_DATA_SINK_H
42 #include "../VirgilDataSink.h"
44 namespace virgil {
namespace crypto {
namespace stream {
C++ stream implementation of the VirgilDataSink class.
Definition: VirgilStreamDataSink.h:51
virtual ~VirgilStreamDataSink() noexcept
Polymorphic destructor.
virtual void write(const virgil::crypto::VirgilByteArray &data)
Overriding of VirgilDataSink::write() method.
This is base class for output streams.
Definition: VirgilDataSink.h:49
std::vector< unsigned char > VirgilByteArray
This type represents a sequence of bytes.
Definition: VirgilByteArray.h:50
VirgilStreamDataSink(std::ostream &out)
Creates data sink based on std::ostream object.
virtual bool isGood()
Overriding of VirgilDataSink::isGood() method.