Storing arbitrary bytes in RocksDB -
rocksdb states can store arbitrary data api supports std::string
types. want store std::vector<t>
values , appears if want must convert std::string
.
is there less brittle way storing arbitrary types?
as key-value store, rocksdb can store "arbitrary byte array". use case, need have way serialize std::vector<t>
byte array can put std::string
. note input std::string
not need zero-terminated.
Comments
Post a Comment