MCPcopy Create free account
hub / github.com/couchbase/fleece / keyString

Method keyString

Fleece/Tree/HashTree.cc:53–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51 Value Leaf::key() const {return derefValue(_keyOffset);}
52 Value Leaf::value() const {return derefValue(_valueOffset & ~1);}
53 slice Leaf::keyString() const {return derefValue(_keyOffset).asString();}
54
55 uint32_t Leaf::writeTo(Encoder &enc, bool writeKey) const {
56 if (enc.base().containsAddress(this)) {

Callers 2

getMethod · 0.45
nextMethod · 0.45

Calls 1

asStringMethod · 0.45

Tested by

no test coverage detected