mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-02 14:37:42 -03:00
leveldb_bla
This commit is contained in:
parent
f23d6a572d
commit
4fd957e2ad
1 changed files with 2 additions and 0 deletions
|
@ -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_; }
|
||||
|
|
Loading…
Add table
Reference in a new issue