Used to pass byte array input as part of a NameValuePairs object.
More...
#include <algparam.h>
Used to pass byte array input as part of a NameValuePairs object.
Definition at line 29 of file algparam.h.
| ConstByteArrayParameter::ConstByteArrayParameter |
( |
const char * |
data = NULL, |
|
|
bool |
deepCopy = false |
|
) |
| |
|
inline |
Construct a ConstByteArrayParameter.
- Parameters
-
| data | a C-String |
| deepCopy | flag indicating whether the data should be copied |
The deepCopy option is used when the NameValuePairs object can't keep a copy of the data available
Definition at line 37 of file algparam.h.
| ConstByteArrayParameter::ConstByteArrayParameter |
( |
const byte * |
data, |
|
|
size_t |
size, |
|
|
bool |
deepCopy = false |
|
) |
| |
|
inline |
Construct a ConstByteArrayParameter.
- Parameters
-
| data | a memory buffer |
| size | the length of the memory buffer |
| deepCopy | flag indicating whether the data should be copied |
The deepCopy option is used when the NameValuePairs object can't keep a copy of the data available
Definition at line 49 of file algparam.h.
template<class T >
| ConstByteArrayParameter::ConstByteArrayParameter |
( |
const T & |
string, |
|
|
bool |
deepCopy = false |
|
) |
| |
|
inline |
Construct a ConstByteArrayParameter.
- Template Parameters
-
| T | a std::basic_string<char> class |
- Parameters
-
| string | a std::basic_string<char> class |
| deepCopy | flag indicating whether the data should be copied |
The deepCopy option is used when the NameValuePairs object can't keep a copy of the data available
Definition at line 61 of file algparam.h.
| void ConstByteArrayParameter::Assign |
( |
const byte * |
data, |
|
|
size_t |
size, |
|
|
bool |
deepCopy |
|
) |
| |
|
inline |
Assign contents from a memory buffer.
- Parameters
-
| data | a memory buffer |
| size | the length of the memory buffer |
| deepCopy | flag indicating whether the data should be copied |
The deepCopy option is used when the NameValuePairs object can't keep a copy of the data available
Definition at line 74 of file algparam.h.
| const byte* ConstByteArrayParameter::begin |
( |
| ) |
const |
|
inline |
Pointer to the first byte in the memory block.
Definition at line 89 of file algparam.h.
| const byte* ConstByteArrayParameter::end |
( |
| ) |
const |
|
inline |
Pointer beyond the last byte in the memory block.
Definition at line 91 of file algparam.h.
| size_t ConstByteArrayParameter::size |
( |
| ) |
const |
|
inline |
Length of the memory block.
Definition at line 93 of file algparam.h.
| const byte* ConstByteArrayParameter::m_data |
|
private |
| bool ConstByteArrayParameter::m_deepCopy |
|
private |
| size_t ConstByteArrayParameter::m_size |
|
private |
The documentation for this class was generated from the following file: