Class Ase::Blob
Binary large object storage container.
#include <blob.hh>
Public Functions
Type | Name |
---|---|
Blob () Construct an empty Blob . |
|
Blob (const String & auto_url) Construct Blob from url or filename (auto detected). |
|
const uint8 * | bytes () Retrieve the Blob 's data as uint8 buffer. |
const char * | data () Retrieve the Blob 's data. |
String | name () Retrieve the Blob 's filename or url. |
operator bool () const Checks if the Blob contains accessible data. |
|
size_t | size () Retrieve the Blob 's data size in bytes. |
String | string () Copy Blob data into a zero terminated string. |
Public Static Functions
Type | Name |
---|---|
Blob | from_file (const String & filename) Create Blob by loading from__filename . |
Blob | from_url (const String & url) Create Blob by opening a__url . |
Public Functions Documentation
function Blob [2/3]
explicit Ase::Blob::Blob ()
function Blob [3/3]
explicit Ase::Blob::Blob (
const String & auto_url
)
function bytes
const uint8 * Ase::Blob::bytes ()
function data
const char * Ase::Blob::data ()
function name
String Ase::Blob::name ()
function operator bool
explicit Ase::Blob::operator bool () const
function size
size_t Ase::Blob::size ()
function string
String Ase::Blob::string ()
Public Static Functions Documentation
function from_file
static Blob Ase::Blob::from_file (
const String & filename
)
function from_url
static Blob Ase::Blob::from_url (
const String & url
)
The documentation for this class was generated from the following file /__w/anklang/anklang/ase/blob.hh