leveldb_bla

This commit is contained in:
MarcoFalke 2024-12-17 16:39:07 +01:00
parent f23d6a572d
commit 4fd957e2ad

View file

@ -45,6 +45,8 @@ class LEVELDB_EXPORT Slice {
// Return a pointer to the beginning of the referenced data
const char* data() const { return data_; }
const char* begin() const { return data_; }
const char* end() const { return data_+size_; }
// Return the length (in bytes) of the referenced data
size_t size() const { return size_; }