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

Method writeTo

Fleece/Tree/MutableNode.hh:71–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

69 }
70
71 uint32_t writeTo(Encoder &enc, bool writeKey) {
72 if (writeKey)
73 enc.writeString(_key);
74 else
75 enc.writeValue(_value);
76 return (uint32_t)enc.finishItem();
77 }
78
79 void dump(std::ostream &out, unsigned indent) {
80 char hashStr[30];

Callers 1

writeToMethod · 0.45

Calls 3

writeStringMethod · 0.45
writeValueMethod · 0.45
finishItemMethod · 0.45

Tested by

no test coverage detected