7 #ifndef CPPWAMP_BLOB_HPP
8 #define CPPWAMP_BLOB_HPP
17 #include <initializer_list>
32 using Data = std::vector<uint8_t>;
41 explicit Blob(std::initializer_list<uint8_t> list);
47 const Data& data()
const;
50 bool operator==(
const Blob& other)
const;
53 bool operator!=(
const Blob& other)
const;
56 bool operator<(
const Blob& other)
const;
59 std::vector<uint8_t> data_;
66 CPPWAMP_API std::ostream& operator<<(std::ostream& out,
const Blob& blob);
70 #ifndef CPPWAMP_COMPILED_LIB
71 #include "internal/blob.ipp"
74 #endif // CPPWAMP_BLOB_HPP