SignDoc SDK (C++)
5.0.0
|
Class implementing an InputStream reading from memory. More...
#include <SignDocSDK-cpp.h>
Public Member Functions | |
MemoryInputStream (const unsigned char *aSrc, size_t aLen) | |
Constructor. More... | |
Public Member Functions inherited from LibraryInputStream | |
LibraryInputStream (SIGNDOC_InputStream *aImpl) | |
Constructor. More... | |
virtual int | read (void *aDst, int aLen) |
Read octets from source. More... | |
virtual void | close () |
Close the stream. More... | |
virtual void | seek (int aPos) |
Seek to the specified position (int). More... | |
virtual int | tell () const |
Retrieve the current position (int). More... | |
virtual int | getAvailable () |
Get an estimate of the number of octets available for reading. More... | |
Public Member Functions inherited from InputStream | |
InputStream (SIGNDOC_InputStream *aImpl) | |
Constructor. More... | |
virtual | ~InputStream () |
Destructor. More... | |
SIGNDOC_InputStream * | getImpl () |
Internal. More... | |
Additional Inherited Members | |
Protected Attributes inherited from InputStream | |
SIGNDOC_InputStream * | p |
Pointer to C structure. More... | |
Class implementing an InputStream reading from memory.
|
inline |
Constructor.
Read from the buffer pointed to by aSrc. Note that the buffer contents won't be copied, therefore the buffer must remain valid throughout the use of this object.
[in] | aSrc | Points to the stream contents. |
[in] | aLen | Size of the stream contents. |