MCPcopy Create free account
hub / github.com/ariccio/altWinDirStat / ValueToString

Method ValueToString

Reference code/osImageTool/Registry.cpp:102–110  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

100 return true;
101}
102bool Registry::ValueToString(const ByteVector& value, std::string& str)
103{
104 str.clear();
105 for (ByteVector::const_iterator i=value.begin() ; i!=value.end() && (*i)!=0 ; ++i)
106 {
107 str += (char)(*i);
108 }
109 return true;
110}
111
112
113// ------------ writing to the registry --------------

Callers

nothing calls this directly

Calls 6

stringformatFunction · 0.85
hexdumpFunction · 0.85
beginMethod · 0.80
clearMethod · 0.45
endMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected