When I put a key, I use StringToEntry
:
store.put(txn, StringBinding.stringToEntry(key), StringBinding.stringToEntry(value));
and when I return it I get a ByteIterable:
ByteIterable result = store2.get(txn2, StringBinding.stringToEntry("bn:14271053n"));
How do I convert this into a String?