Security Scol plugin
|
Used to pass byte array input as part of a NameValuePairs object. More...
#include <algparam.h>
Public Member Functions | |
ConstByteArrayParameter (const char *data=NULLPTR, bool deepCopy=false) | |
Construct a ConstByteArrayParameter. | |
ConstByteArrayParameter (const byte *data, size_t size, bool deepCopy=false) | |
Construct a ConstByteArrayParameter. | |
template<class T > | |
ConstByteArrayParameter (const T &string, bool deepCopy=false) | |
Construct a ConstByteArrayParameter. | |
void | Assign (const byte *data, size_t size, bool deepCopy) |
Assign contents from a memory buffer. | |
const byte * | begin () const |
Pointer to the first byte in the memory block. | |
const byte * | end () const |
Pointer beyond the last byte in the memory block. | |
size_t | size () const |
Length of the memory block. | |
Used to pass byte array input as part of a NameValuePairs object.
Definition at line 24 of file algparam.h.
|
inline |
Construct a ConstByteArrayParameter.
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.
|
inline |
Construct a ConstByteArrayParameter.
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.
|
inline |
Construct a ConstByteArrayParameter.
T | a std::basic_string<char> or std::vector<byte> class |
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.
|
inline |
Assign contents from a memory buffer.
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.
|
inline |
Pointer to the first byte in the memory block.
Definition at line 84 of file algparam.h.
|
inline |
Pointer beyond the last byte in the memory block.
Definition at line 86 of file algparam.h.
|
inline |
Length of the memory block.
Definition at line 88 of file algparam.h.