CppWAMP
C++11 client library for the WAMP protocol
wamp::Blob Class Reference

Contains binary data as an array of bytes. More...

#include <cppwamp/blob.hpp>

Public Types

using Data = std::vector< uint8_t >
 Array of bytes used to contain the binary data.
 

Public Member Functions

 Blob ()
 Default constructor.
 
 Blob (Data data)
 Constructor taking a vector of bytes.
 
 Blob (std::initializer_list< uint8_t > list)
 Constructor taking an initializer list.
 
Datadata ()
 Obtains the blob's array of bytes.
 
const Datadata () const
 Obtains the blob's constant array of bytes.
 
bool operator== (const Blob &other) const
 Equality comparison.
 
bool operator!= (const Blob &other) const
 Inequality comparison.
 
bool operator< (const Blob &other) const
 Less-than comparison.
 

Related Functions

(Note that these are not member functions.)

std::ostream & operator<< (std::ostream &out, const Blob &blob)
 Outputs a Blob to the given output stream.
 

Detailed Description

Contains binary data as an array of bytes.


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