Base Framework
|
#include <base/media/Media.h>
Classes | |
class | KeyValue |
Public Member Functions | |
MediaBlob () | |
MediaBlob (const String &key, const String &bytes, bool encode=false) | |
MediaBlob (String &&key, String &&bytes, bool encode=false) | |
MediaBlob & | add (const String &key, const String &bytes, bool encode=false) |
MediaBlob & | add (String &&key, String &&bytes, bool encode=false) |
bool | hasKey (const String &key) const noexcept |
MemorySize | getSize () const noexcept |
const KeyValue * | begin () const noexcept |
const KeyValue * | end () const noexcept |
ClingMimeBundle | getBundle () const |
Static Public Member Functions | |
static const String & | getPlainType () |
static const String & | getHTMLType () |
Media blob. Lower level object with minimum dependencies.
MediaBlob::MediaBlob | ( | ) |
Initializes media blob.
Initializes media blob.
Initializes media blob.
Adds key.
|
inlinenoexcept |
Returns the begin iterator.
|
inlinenoexcept |
Returns the end iterator.
|
inline |
Returns bundle.
|
static |
Returns 'text/html'.
|
static |
Returns 'text/plain'.
|
inlinenoexcept |
Returns the size.
|
noexcept |
Returns true if the key exists.