Virgil Security Crypto library  2.6.3
Public Member Functions | List of all members
virgil::crypto::stream::VirgilBytesDataSink Class Reference

C++ Byte Array implementation of the VirgilDataSink class. More...

#include <VirgilBytesDataSink.h>

Inheritance diagram for virgil::crypto::stream::VirgilBytesDataSink:
virgil::crypto::VirgilDataSink

Public Member Functions

 VirgilBytesDataSink (virgil::crypto::VirgilByteArray &out)
 Creates data sink based on byte array.
 
virtual ~VirgilBytesDataSink () noexcept
 Polymorphic destructor.
 
virtual bool isGood ()
 Overriding of VirgilDataSink::isGood() method.
 
virtual void write (const virgil::crypto::VirgilByteArray &data)
 Overriding of VirgilDataSink::write() method.
 
virtual void reset ()
 Reset internal state to initial. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from virgil::crypto::VirgilDataSink
static void safeWrite (VirgilDataSink &sink, const VirgilByteArray &data)
 Write data to the sink in a safe way. More...
 

Detailed Description

C++ Byte Array implementation of the VirgilDataSink class.

Note
This class CAN not be used in wrappers.

Member Function Documentation

virtual void virgil::crypto::stream::VirgilBytesDataSink::reset ( )
virtual

Reset internal state to initial.

Erase all data from the output byte array.


The documentation for this class was generated from the following file: