I add key-vals by myself (with python script) and checking what was read after the add.
For example this pair was created:
INFO:root:Key: confidence_thresh ---> Value: 0.65 (READ: b'0.65')
But when Im reading this value thourgh c++ code:
std::vectorstd::string vKeys = m_pKv->keys(strKeysPrefix);
for (auto key : vKeys)
{
auto kvs = m_pKv->item(key);
std::cout << ">>> " << kvs.value << " -> " << kvs.value.size() << " [" << (int)kvs.value.back() - 'a' << "]" << std::endl;
}
I receive the following:
0.65� -> 6 [93]
As you can see there is nothing added to the value. Do you have any thoughts what Im doing wrongly ?
Thank you & best regards
Max