void InitData(RegistrarClient& client) { client.WriteData(kKey, Package(&kData, sizeof(kData))); }
void InitData(RegistrarClient& client) { client.WriteData(kKey1, Package(kData1.c_str(), kData1.size())); client.WriteData(kKey2, Package(&kData2, sizeof(kData2))); }
void InitData(RegistrarClient& client) { client.WriteData(kKey1, const_cast<char*>(kData1.c_str()), kData1.size()); client.WriteData(kKey2, &kData2, sizeof(kData2)); }