MCPcopy Create free account
hub / github.com/CppMicroServices/CppMicroServices / GetData

Method GetData

framework/src/bundle/BundleResource.cpp:283–292  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

281 }
282
283 std::unique_ptr<void, void (*)(void*)>
284 BundleResource::GetData() const
285 {
286 if (!IsValid())
287 {
288 return { nullptr, ::free };
289 }
290
291 return d->archive->GetResourceContainer()->GetData(d->stat.index);
292 }
293
294 std::ostream&
295 operator<<(std::ostream& os, BundleResource const& resource)

Callers 2

TESTFunction · 0.45
BundleResourceStreamMethod · 0.45

Calls 1

GetResourceContainerMethod · 0.80

Tested by 1

TESTFunction · 0.36