MCPcopy Create free account
hub / github.com/ElementsProject/elements / memtable_key

Method memtable_key

src/leveldb/db/dbformat.h:196–196  ·  view source on GitHub ↗

Return a key suitable for lookup in a MemTable.

Source from the content-addressed store, hash-verified

194
195 // Return a key suitable for lookup in a MemTable.
196 Slice memtable_key() const { return Slice(start_, end_ - start_); }
197
198 // Return an internal key (suitable for passing to an internal iterator)
199 Slice internal_key() const { return Slice(kstart_, end_ - kstart_); }

Callers 1

GetMethod · 0.80

Calls 1

SliceClass · 0.50

Tested by

no test coverage detected