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

Popular posts from this blog

Fail to load namespace Spring Security http://www.springframework.org/security/tags -

sql - MySQL query optimization using coalesce -

unity3d - Unity local avoidance in user created world -