MCPcopy Create free account
hub / github.com/BeneficialCode/WinArk / GetBinary

Method GetBinary

WinArk/Settings.h:163–169  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

161
162 template<typename T>
163 T* GetBinary(PCWSTR name) const {
164 auto it = _settings.find(name);
165 if (it == _settings.end())
166 return nullptr;
167 ATLASSERT(it->second.Size == sizeof(T));
168 return (T*)it->second.Buffer.get();
169 }
170
171protected:
172 struct LessNoCase {

Callers

nothing calls this directly

Calls 1

endMethod · 0.45

Tested by

no test coverage detected