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

Method createWithData

core/base/ZipUtils.cpp:685–697  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

683}
684
685ZipFile* ZipFile::createWithData(Data data)
686{
687 ZipFile* zip = new ZipFile();
688 if (zip->initWithData(std::move(data)))
689 {
690 return zip;
691 }
692 else
693 {
694 delete zip;
695 return nullptr;
696 }
697}
698
699ZipFile::ZipFile() : _data(new ZipFilePrivate())
700{

Callers

nothing calls this directly

Calls 1

initWithDataMethod · 0.45

Tested by

no test coverage detected