Class TextBlobResource
Defined in File Resource.hpp
Inheritance Relationships
Base Type
public Cacao::BlobResource
(Class BlobResource)
Class Documentation
-
class TextBlobResource : public Cacao::BlobResource
The resource type for data blobs containing text.
Public Functions
Public Static Functions
-
static inline std::shared_ptr<TextBlobResource> Create(std::string &&data, const std::string &addr)
Create a new blob from text.
- Parameters:
data – The text blob to store
addr – The resource address identifier to associate with the blob
-
static inline std::shared_ptr<TextBlobResource> Create(std::string &&data, const std::string &addr)