Virgil Security Crypto library  1.8.2
VirgilDataSink.h
1 
37 #ifndef VIRGIL_CRYPTO_VIRGIL_DATA_SINK_H
38 #define VIRGIL_CRYPTO_VIRGIL_DATA_SINK_H
39 
40 #include <virgil/crypto/VirgilByteArray.h>
41 
42 namespace virgil { namespace crypto {
43 
50 public:
54  virtual bool isGood() = 0;
55 
59  virtual void write(const VirgilByteArray& data) = 0;
60 
61  virtual ~VirgilDataSink() throw() { }
62 };
63 
64 }}
65 
66 #endif /* VIRGIL_CRYPTO_VIRGIL_DATA_SINK_H */
virtual void write(const VirgilByteArray &data)=0
Write data to the target object.
This is base class for output streams.
Definition: VirgilDataSink.h:49
Definition: VirgilAsn1Compatible.h:46
virtual bool isGood()=0
Return true if target object is able to write data.