37 #ifndef VIRGIL_CRYPTO_VIRGIL_BYTES_DATA_SINK_H
38 #define VIRGIL_CRYPTO_VIRGIL_BYTES_DATA_SINK_H
40 #include <virgil/crypto/VirgilDataSink.h>
42 namespace virgil {
namespace crypto {
namespace stream {
69 virtual void write(
const virgil::crypto::VirgilByteArray& data);
79 virgil::crypto::VirgilByteArray& out_;
VirgilBytesDataSink(virgil::crypto::VirgilByteArray &out)
Creates data sink based on byte array.
virtual void write(const virgil::crypto::VirgilByteArray &data)
Overriding of VirgilDataSink::write() method.
virtual ~VirgilBytesDataSink()
Polymorphic destructor.
This is base class for output streams.
Definition: VirgilDataSink.h:49
Definition: VirgilAsn1Compatible.h:46
C++ Byte Array implementation of the VirgilDataSink class.
Definition: VirgilBytesDataSink.h:49
virtual void reset()
Reset internal state to initial.
virtual bool isGood()
Overriding of VirgilDataSink::isGood() method.