23 std::vector<uint8_t> & result,
24 const std::string & key
36 const std::string & key,
37 const std::vector<uint8_t> & val
49 const std::string & key,
50 const std::string & val
63 const std::string & key,
64 const std::vector<uint8_t> & val,
78 const std::string & key,
79 const std::string & val,
KVError
Enum describing return values of functions that correspond to kv modules.
Definition: error.hpp:98
edjx::error::KVError remove(const std::string &key)
Removes an entry from the KV store.
edjx::error::KVError get(std::vector< uint8_t > &result, const std::string &key)
Returns the value associated with the provided key.
edjx::error::KVError put(const std::string &key, const std::vector< uint8_t > &val)
Inserts a key-value pair into the KV store.