MCPcopy Create free account
hub / github.com/cocos/cocos-engine / getValueMapFromData

Method getValueMapFromData

native/cocos/platform/FileUtils.cpp:291–294  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

289}
290
291ValueMap FileUtils::getValueMapFromData(const char *filedata, int filesize) {
292 DictMaker tMaker;
293 return tMaker.dictionaryWithDataOfFile(filedata, filesize);
294}
295
296ValueVector FileUtils::getValueVectorFromFile(const ccstd::string &filename) {
297 const ccstd::string fullPath = fullPathForFilename(filename);

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected