37 #ifndef VIRGIL_CRYPTO_VIRGIL_BYTES_DATA_SINK_H
38 #define VIRGIL_CRYPTO_VIRGIL_BYTES_DATA_SINK_H
40 #include "../VirgilDataSink.h"
42 namespace virgil {
namespace crypto {
namespace stream {
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.
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
virtual ~VirgilBytesDataSink() noexcept
Polymorphic destructor.
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.