Digital Authentication Framework 6.0.1.33
Static Public Member Functions

DAUtils Class Reference

Utility functions. More...

#include <DigitalAuthenticationFramework.h>

List of all members.

Static Public Member Functions

static DAData mkData (const void *data, size_t len)
 Create a DAData from pointer and length.
static DAData mkData (std::string &str)
 Create a DAData from a std::string.
static DAData mkData (const char *str)
 Create a DAData from a C string.

Detailed Description

Utility functions.


Member Function Documentation

static DAData DAUtils::mkData ( const void *  data,
size_t  len 
) [inline, static]

Create a DAData from pointer and length.

Parameters:
datapointer to data; this will be copied into the DAData object
lenlength of data in bytes
static DAData DAUtils::mkData ( const char *  str) [inline, static]

Create a DAData from a C string.

Parameters:
strNull-terminated C string to be copied. strlen(str) bytes are copied - this will not include the terminating 0 byte.
static DAData DAUtils::mkData ( std::string &  str) [inline, static]

Create a DAData from a std::string.

Parameters:
strString to be copied. str.size() bytes are copied - this will not add a terminating 0 byte at the end.

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