![]() |
Qt 6.x
The Qt SDK
|
#include <qstdweb_p.h>
Public Member Functions | |
Blob (const emscripten::val &blob) | |
uint32_t | size () const |
emscripten::val | val () |
std::string | type () const |
Static Public Member Functions | |
static Blob | copyFrom (const char *buffer, uint32_t size, std::string mimeType) |
static Blob | copyFrom (const char *buffer, uint32_t size) |
Friends | |
class | FileReader |
Definition at line 63 of file qstdweb_p.h.
|
explicit |
Definition at line 507 of file qstdweb.cpp.
|
static |
Definition at line 530 of file qstdweb.cpp.
References copyFrom().
|
static |
Definition at line 518 of file qstdweb.cpp.
References qstdweb::Uint8Array::copyFrom(), mimeType, and qstdweb::Uint8Array::val().
Referenced by copyFrom(), QWasmLocalFileAccess::downloadDataAsFile(), QWasmAudioOutput::setSource(), and QWasmVideoOutput::setSource().
uint32_t qstdweb::Blob::size | ( | ) | const |
Definition at line 513 of file qstdweb.cpp.
std::string qstdweb::Blob::type | ( | ) | const |
Definition at line 561 of file qstdweb.cpp.
emscripten::val qstdweb::Blob::val | ( | ) |
Definition at line 535 of file qstdweb.cpp.
Referenced by QWasmLocalFileAccess::downloadDataAsFile(), QWasmAudioOutput::setSource(), and QWasmVideoOutput::setSource().
|
friend |
Definition at line 73 of file qstdweb_p.h.