|
CppWAMP
C++11 client library for the WAMP protocol
|
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. | |
| Data & | data () |
| Obtains the blob's array of bytes. | |
| const Data & | data () 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. | |
Contains binary data as an array of bytes.