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

Method load

core/base/PaddedString.h:53–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51{
52public:
53 static PaddedString load(std::string_view filename)
54 {
55 PaddedString ret;
56 FileUtils::getInstance()->getContents(filename, &ret);
57 return ret;
58 }
59
60 PaddedString() = default;
61 ~PaddedString() { delete[] data_ptr; }

Callers

nothing calls this directly

Calls 2

getInstanceFunction · 0.85
getContentsMethod · 0.80

Tested by

no test coverage detected