Used to pass byte array input as part of a NameValuePairs object.
More...
Used to pass byte array input as part of a NameValuePairs object.
Definition at line 24 of file algparam.h.
◆ ConstByteArrayParameter() [1/3]
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 32 of file algparam.h.
◆ ConstByteArrayParameter() [2/3]
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 44 of file algparam.h.
◆ ConstByteArrayParameter() [3/3]
template<class T >
ConstByteArrayParameter::ConstByteArrayParameter |
( |
const T & |
string, |
|
|
bool |
deepCopy = false |
|
) |
| |
|
inline |
Construct a ConstByteArrayParameter.
- Template Parameters
-
T | a std::basic_string<char> or std::vector<byte> class |
- Parameters
-
string | a std::basic_string<char> or std::vector<byte> object |
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 56 of file algparam.h.
◆ Assign()
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 69 of file algparam.h.
The documentation for this class was generated from the following file: