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

Method getDataFromFile

core/platform/FileUtils.cpp:563–568  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

561}
562#endif
563Data FileUtils::getDataFromFile(std::string_view filename) const
564{
565 Data d;
566 getContents(filename, &d);
567 return d;
568}
569#ifndef AX_CORE_PROFILE
570void FileUtils::getDataFromFile(std::string_view filename, std::function<void(Data)> callback) const
571{

Callers 15

initWithFontPathMethod · 0.80
loadBinaryMethod · 0.80
lazyInitMethod · 0.80
createNonRefCountedMethod · 0.80
tgaLoadFunction · 0.80
isCCZFileMethod · 0.80
isGZipFileMethod · 0.80
inflateCCZFileMethod · 0.80
parseMethod · 0.80
initWithImageFileMethod · 0.80
loadNavMeshFileMethod · 0.80

Calls 3

getContentsFunction · 0.85
getInstanceFunction · 0.85

Tested by 6

uploadFileMethod · 0.64
unzipTestFunction · 0.64
onEnterMethod · 0.64
onEnterMethod · 0.64