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

Method openFileStream

core/platform/FileUtils.cpp:1041–1045  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1039#endif
1040
1041std::unique_ptr<IFileStream> FileUtils::openFileStream(std::string_view filePath, IFileStream::Mode mode) const
1042{
1043 FileStream fs;
1044 return fs.open(filePath, mode) ? std::make_unique<FileStream>(std::move(fs)) : nullptr;
1045}
1046
1047/* !!!Notes for c++fs
1048 a. ios: require ios 13.0+, currently use ghc as workaround in lower ios 13.0- devices

Callers 15

initWithFontPathMethod · 0.80
onStartMethod · 0.80
_onDownloadFinishedMethod · 0.80
onLoadMethod · 0.80
writeFileMethod · 0.80
openMethod · 0.80
openMethod · 0.80
createDecoderMethod · 0.80
wav_openFunction · 0.80
openMethod · 0.80
commandUploadMethod · 0.80

Calls 1

openMethod · 0.45

Tested by

no test coverage detected