I have big problem:
I have row: address 36 bytes + hasz20 bytes (binary with zeros!) + 4 bytes index + 1 byte type.
I write:
304d494e454478434f494e42415345303030303030303030303030303030303030300000982051fd1e4ba744bbbe680e1fee14677ba1a3c3540bf7b1cdb606e857233e0e0000000000

and I read:
304d494e454478434f494e42415345303030303030303030303030303030303030300020203c636f310000000000000000000000000000004f494e4241534530303030303030303030

address=0MINEDxCOINBASE0000000000000000000 hash=0c0068000000000000000000000000000159a670000000000000005109227972 xio=32767, type=3


only address is correct!
address end with zero byte. Strings with zeros are not correct stored?
I store with:

auto put = std::make_unique<Put>(row);
for (int i = 0; i<qualifiers.size(); i++)
                put->AddColumn(families[i], qualifiers[i], values[i]);
getTable(hTable)->Put(*std::move(put));

and read with:
return string: result->Row()

Reply via email to