Virgil Security Crypto library
2.1.2
|
C++ Byte Array implementation of the VirgilDataSource class. More...
#include <VirgilBytesDataSource.h>
Public Member Functions | |
VirgilBytesDataSource (const virgil::crypto::VirgilByteArray &in, size_t chunkSize=1) | |
Creates data sink based on byte array. More... | |
virtual | ~VirgilBytesDataSource () noexcept |
Polymorphic destructor. | |
virtual bool | hasData () |
Overriding of VirgilDataSource::hasData() method. | |
virtual virgil::crypto::VirgilByteArray | read () |
Overriding of VirgilDataSource::read() method. | |
virtual void | reset () |
Reset internal state to initial. More... | |
C++ Byte Array implementation of the VirgilDataSource class.
|
explicit |
Creates data sink based on byte array.
in | - byte array. |
chunkSize | - size of the data that will be returned by read() method. Note, the real value may be different from the given value, it is only recommendation. |
|
virtual |
Reset internal state to initial.
This method can used for secondary data reading.