MCPcopy Create free account
hub / github.com/axmolengine/axmol / writeDataToFile

Method writeDataToFile

core/platform/FileUtils.cpp:502–505  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

500}
501#endif
502bool FileUtils::writeDataToFile(const Data& data, std::string_view fullPath) const
503{
504 return FileUtils::writeBinaryToFile(data.getBytes(), data.getSize(), fullPath);
505}
506#ifndef AX_CORE_PROFILE
507void FileUtils::writeDataToFile(Data data, std::string_view fullPath, std::function<void(bool)> callback) const
508{

Callers 2

FileUtilsTests.cppFile · 0.80
unzipTestFunction · 0.80

Calls 4

getInstanceFunction · 0.85
getBytesMethod · 0.80
getSizeMethod · 0.45

Tested by 1

unzipTestFunction · 0.64