Class BinaryBlobResource
Defined in File Resource.hpp
Inheritance Relationships
Base Type
public Cacao::BlobResource
(Class BlobResource)
Class Documentation
-
class BinaryBlobResource : public Cacao::BlobResource
The resource type for binary data blobs.
Public Functions
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
-
static inline std::shared_ptr<BinaryBlobResource> Create(std::vector<unsigned char> &&data, const std::string &addr)