Crypto++  8.0
Free C++ class library of cryptographic schemes
Public Member Functions | List of all members
ByteArrayParameter Class Reference

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

Public Member Functions

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

Detailed Description

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

Definition at line 94 of file algparam.h.

Constructor & Destructor Documentation

◆ ByteArrayParameter() [1/2]

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 100 of file algparam.h.

◆ ByteArrayParameter() [2/2]

ByteArrayParameter::ByteArrayParameter ( SecByteBlock block)
inline

Construct a ByteArrayParameter.

Parameters
blocka SecByteBlock

Definition at line 105 of file algparam.h.


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