| 100 | return true; |
| 101 | } |
| 102 | bool 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 -------------- |