Data source.
More...
#include <SignDocSDK-cpp.h>
Data source.
Interface for getting byte ranges from a document.
Source |
( |
struct SIGNDOC_Source * |
aImpl | ) |
|
|
inline |
Constructor.
- Parameters
-
[in] | aImpl | A pointer to the C structure. |
int fetch |
( |
const void *& |
aPtr, |
|
|
int |
aMaxSize |
|
) |
| |
|
inline |
Fetch data from the document.
- Parameters
-
[out] | aPtr | A pointer to the first byte will be stored here. |
[in] | aMaxSize | Fetch up to this many bytes. Must be positive. |
- Returns
- 0 if no more data is available, otherwise the number of bytes pointed to by the pointer returned in aPtr. The return value is always less than or equal to aMaxSize.
The documentation for this class was generated from the following file: