![]() |
Qt 6.x
The Qt SDK
|
#include <qstdweb_p.h>
Public Member Functions | |
File ()=default | |
File (const emscripten::val &file) | |
Blob | slice (uint64_t begin, uint64_t end) const |
std::string | name () const |
uint64_t | size () const |
std::string | type () const |
void | stream (uint32_t offset, uint32_t length, char *buffer, std::function< void()> completed) const |
void | stream (char *buffer, std::function< void()> completed) const |
emscripten::val | val () |
Definition at line 77 of file qstdweb_p.h.
|
default |
|
explicit |
Definition at line 540 of file qstdweb.cpp.
std::string qstdweb::File::name | ( | ) | const |
Definition at line 551 of file qstdweb.cpp.
uint64_t qstdweb::File::size | ( | ) | const |
Definition at line 556 of file qstdweb.cpp.
Referenced by stream().
Blob qstdweb::File::slice | ( | uint64_t | begin, |
uint64_t | end | ||
) | const |
Definition at line 546 of file qstdweb.cpp.
References begin().
Definition at line 576 of file qstdweb.cpp.
References size().
void qstdweb::File::stream | ( | uint32_t | offset, |
uint32_t | length, | ||
char * | buffer, | ||
std::function< void()> | completed | ||
) | const |
Definition at line 568 of file qstdweb.cpp.
std::string qstdweb::File::type | ( | ) | const |
Definition at line 581 of file qstdweb.cpp.
emscripten::val qstdweb::File::val | ( | ) |
Definition at line 586 of file qstdweb.cpp.