MCPcopy Create free account
hub / github.com/ErrorAtLine0/infinipaint / download

Function download

include/EmscriptenHelpers/emscripten_browser_file.h:102–105  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

100#pragma GCC diagnostic pop
101
102inline void download(std::string const &filename, std::string const &mime_type, std::string_view buffer) {
103 /// C++ wrapper for javascript download call, accepting a string_view
104 download(filename.c_str(), mime_type.c_str(), buffer.data(), buffer.size());
105}
106
107namespace {
108

Callers 3

world_take_screenshotFunction · 0.85
save_to_fileMethod · 0.85
edit_guiMethod · 0.85

Calls 3

c_strMethod · 0.80
dataMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected