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

Method internal_key

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

Return an internal key (suitable for passing to an internal iterator)

Source from the content-addressed store, hash-verified

197
198 // Return an internal key (suitable for passing to an internal iterator)
199 Slice internal_key() const { return Slice(kstart_, end_ - kstart_); }
200
201 // Return the user key
202 Slice user_key() const { return Slice(kstart_, end_ - kstart_ - 8); }

Callers 1

GetMethod · 0.80

Calls 1

SliceClass · 0.50

Tested by

no test coverage detected