Utility functions.
More...
#include <DigitalAuthenticationFramework.h>
static DAData DAUtils::mkData |
( |
const void * |
data, |
|
|
size_t |
len |
|
) |
| |
|
static |
Create a DAData from pointer and length.
- Parameters
-
data | pointer to data; this will be copied into the DAData object |
len | length of data in bytes |
static DAData DAUtils::mkData |
( |
std::string & |
str | ) |
|
|
static |
Create a DAData from a std::string.
- Parameters
-
str | String to be copied. str.size() bytes are copied - this will not add a terminating 0 byte at the end. |
static DAData DAUtils::mkData |
( |
const char * |
str | ) |
|
|
static |
Create a DAData from a C string.
- Parameters
-
str | Null-terminated C string to be copied. strlen(str) bytes are copied - this will not include the terminating 0 byte. |
The documentation for this class was generated from the following file: