2776c764d copying key when received
85d59d7c7 randomize only the IV part of prefix
git-subtree-dir: librocksdb-sys/rocksdb
git-subtree-split: 2776c764d099304c656a4515ee4d4383fb2b12b1
This as added to make while-loops easy:
while iter.next() {
...
}
But this involves adding a layer of custom logic on top of the RocksDB
API. This is probably a bad idea given that this API is meant to closely
match the underlying iterator API in RocksDB, so this commit changes
that.
The new way to iterate is as follows:
while iter.valid() {
...
iter.next();
}