Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
|
#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) |
Uint8Array | subarray (uint32_t begin, uint32_t end) |
void | copyTo (char *destination) const |
QByteArray | copyToQByteArray () const |
emscripten::val | val () const |
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 165 of file qstdweb_p.h.
|
explicit |
Definition at line 609 of file qstdweb.cpp.
Referenced by copy(), copyFrom(), copyTo(), heap(), and subarray().
|
explicit |
Definition at line 616 of file qstdweb.cpp.
|
explicit |
Definition at line 637 of file qstdweb.cpp.
qstdweb::Uint8Array::Uint8Array | ( | const ArrayBuffer & | buffer, |
uint32_t | offset, | ||
uint32_t | length ) |
Definition at line 623 of file qstdweb.cpp.
qstdweb::Uint8Array::Uint8Array | ( | const char * | buffer, |
uint32_t | size ) |
Definition at line 630 of file qstdweb.cpp.
ArrayBuffer qstdweb::Uint8Array::buffer | ( | ) | const |
Definition at line 643 of file qstdweb.cpp.
|
static |
Definition at line 684 of file qstdweb.cpp.
References Uint8Array(), and destination.
|
static |
Definition at line 690 of file qstdweb.cpp.
References Uint8Array().
Referenced by qstdweb::Blob::copyFrom(), and copyFrom().
|
static |
Definition at line 698 of file qstdweb.cpp.
References copyFrom().
void qstdweb::Uint8Array::copyTo | ( | char * | destination | ) | const |
Definition at line 666 of file qstdweb.cpp.
References Uint8Array(), destination, and length().
Referenced by copyToQByteArray(), qstdweb::BlobIODevice::readData(), and qstdweb::Uint8ArrayIODevice::readData().
QByteArray qstdweb::Uint8Array::copyToQByteArray | ( | ) | const |
Definition at line 672 of file qstdweb.cpp.
References copyTo(), length(), QByteArray(), and QByteArray::resize().
|
static |
Definition at line 603 of file qstdweb.cpp.
References Uint8Array().
uint32_t qstdweb::Uint8Array::length | ( | ) | const |
Definition at line 648 of file qstdweb.cpp.
Referenced by copyTo(), copyToQByteArray(), and qstdweb::Uint8ArrayIODevice::size().
void qstdweb::Uint8Array::set | ( | const Uint8Array & | source | ) |
Definition at line 653 of file qstdweb.cpp.
Referenced by qstdweb::Uint8ArrayIODevice::writeData().
Uint8Array qstdweb::Uint8Array::subarray | ( | uint32_t | begin, |
uint32_t | end ) |
Definition at line 658 of file qstdweb.cpp.
References Uint8Array(), and begin().
Referenced by qstdweb::Uint8ArrayIODevice::readData(), and qstdweb::Uint8ArrayIODevice::writeData().
emscripten::val qstdweb::Uint8Array::val | ( | ) | const |
Definition at line 703 of file qstdweb.cpp.