Fabcoin Core  0.16.2
P2P Digital Currency
Public Member Functions | Private Attributes | List of all members
ByteArrayParameter Class Reference

Used to pass byte array input as part of a NameValuePairs object. More...

#include <algparam.h>

Public Member Functions

 ByteArrayParameter (byte *data=NULL, unsigned int size=0)
 Construct a ByteArrayParameter. More...
 
 ByteArrayParameter (SecByteBlock &block)
 Construct a ByteArrayParameter. More...
 
bytebegin () const
 Pointer to the first byte in the memory block. More...
 
byteend () const
 Pointer beyond the last byte in the memory block. More...
 
size_t size () const
 Length of the memory block. More...
 

Private Attributes

bytem_data
 
size_t m_size
 

Detailed Description

Used to pass byte array input as part of a NameValuePairs object.

Definition at line 104 of file algparam.h.

Constructor & Destructor Documentation

ByteArrayParameter::ByteArrayParameter ( byte data = NULL,
unsigned int  size = 0 
)
inline

Construct a ByteArrayParameter.

Parameters
dataa memory buffer
sizethe length of the memory buffer

Definition at line 110 of file algparam.h.

ByteArrayParameter::ByteArrayParameter ( SecByteBlock block)
inline

Construct a ByteArrayParameter.

Parameters
blocka SecByteBlock

Definition at line 115 of file algparam.h.

Member Function Documentation

byte* ByteArrayParameter::begin ( ) const
inline

Pointer to the first byte in the memory block.

Definition at line 119 of file algparam.h.

Here is the caller graph for this function:

byte* ByteArrayParameter::end ( ) const
inline

Pointer beyond the last byte in the memory block.

Definition at line 121 of file algparam.h.

size_t ByteArrayParameter::size ( ) const
inline

Length of the memory block.

Definition at line 123 of file algparam.h.

Here is the caller graph for this function:

Member Data Documentation

byte* ByteArrayParameter::m_data
private

Definition at line 126 of file algparam.h.

size_t ByteArrayParameter::m_size
private

Definition at line 127 of file algparam.h.


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