Representation of a key-value entry during iteration.
More...
#include <key_value_store.h>
|
const char * | key () const |
|
StatusWithSize | Get (span< std::byte > value_buffer, size_t offset_bytes=0) const |
|
template<typename Pointer , typename = std::enable_if_t<std::is_pointer<Pointer>::value>> |
Status | Get (const Pointer &pointer) const |
|
StatusWithSize | ValueSize () const |
|
Representation of a key-value entry during iteration.
◆ Get()
StatusWithSize pw::kvs::KeyValueStore::Item::Get |
( |
span< std::byte > |
value_buffer, |
|
|
size_t |
offset_bytes = 0 |
|
) |
| const |
|
inline |
◆ key()
const char * pw::kvs::KeyValueStore::Item::key |
( |
| ) |
const |
|
inline |
- Returns
- The key as a null-terminated string.
The documentation for this class was generated from the following file: