Class BinaryBlobResource

Inheritance Relationships

Base Type

Class Documentation

class BinaryBlobResource : public Cacao::BlobResource

The resource type for binary data blobs.

Public Functions

inline const std::vector<unsigned char> &GetData()

Access the stored data.

Returns:

A constant reference to the data

Public Static Functions

static inline std::shared_ptr<BinaryBlobResource> Create(std::vector<unsigned char> &&data, const std::string &addr)

Create a new blob from data.

Parameters:
  • data – The data blob to store

  • addr – The resource address identifier to associate with the blob