![]() |
Qt 6.x
The Qt SDK
|
#include <qstdweb_p.h>
Public Member Functions | |
Uint8Array (const emscripten::val &uint8Array) | |
Uint8Array (const ArrayBuffer &buffer) | |
Uint8Array (uint32_t size) | |
Uint8Array (const ArrayBuffer &buffer, uint32_t offset, uint32_t length) | |
Uint8Array (const char *buffer, uint32_t size) | |
ArrayBuffer | buffer () const |
uint32_t | length () const |
void | set (const Uint8Array &source) |
void | copyTo (char *destination) const |
QByteArray | copyToQByteArray () const |
emscripten::val | val () |
Static Public Member Functions | |
static Uint8Array | heap () |
static void | copy (char *destination, const Uint8Array &source) |
static Uint8Array | copyFrom (const char *buffer, uint32_t size) |
static Uint8Array | copyFrom (const QByteArray &buffer) |
Definition at line 126 of file qstdweb_p.h.
|
explicit |
Definition at line 656 of file qstdweb.cpp.
|
explicit |
Definition at line 663 of file qstdweb.cpp.
|
explicit |
Definition at line 684 of file qstdweb.cpp.
qstdweb::Uint8Array::Uint8Array | ( | const ArrayBuffer & | buffer, |
uint32_t | offset, | ||
uint32_t | length | ||
) |
Definition at line 670 of file qstdweb.cpp.
qstdweb::Uint8Array::Uint8Array | ( | const char * | buffer, |
uint32_t | size | ||
) |
Definition at line 677 of file qstdweb.cpp.
ArrayBuffer qstdweb::Uint8Array::buffer | ( | ) | const |
Definition at line 690 of file qstdweb.cpp.
|
static |
Definition at line 724 of file qstdweb.cpp.
References destination, and set().
|
static |
Definition at line 730 of file qstdweb.cpp.
References set().
Referenced by qstdweb::Blob::copyFrom(), copyFrom(), and QWasmLocalFileAccess::saveDataToFileInChunks().
|
static |
Definition at line 738 of file qstdweb.cpp.
References copyFrom().
void qstdweb::Uint8Array::copyTo | ( | char * | destination | ) | const |
Definition at line 706 of file qstdweb.cpp.
References destination, length(), and set().
Referenced by copyToQByteArray().
QByteArray qstdweb::Uint8Array::copyToQByteArray | ( | ) | const |
Definition at line 712 of file qstdweb.cpp.
References copyTo(), QByteArray::data(), length(), and QByteArray::resize().
|
static |
Definition at line 650 of file qstdweb.cpp.
uint32_t qstdweb::Uint8Array::length | ( | ) | const |
Definition at line 695 of file qstdweb.cpp.
Referenced by copyTo(), and copyToQByteArray().
void qstdweb::Uint8Array::set | ( | const Uint8Array & | source | ) |
Definition at line 700 of file qstdweb.cpp.
Referenced by copy(), copyFrom(), and copyTo().
emscripten::val qstdweb::Uint8Array::val | ( | ) |
Definition at line 743 of file qstdweb.cpp.
Referenced by qstdweb::Blob::copyFrom(), and QWasmLocalFileAccess::saveDataToFileInChunks().