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

Method encodeTo

Fleece/Integration/MValue.hh:101–107  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

99 }
100
101 void encodeTo(Encoder &enc) const {
102 assert(!isEmpty());
103 if (_value)
104 enc.writeValue(_value);
105 else
106 encodeNative(enc, _native);
107 }
108
109 void mutate() {
110 assert(_native);

Callers

nothing calls this directly

Calls 1

writeValueMethod · 0.45

Tested by

no test coverage detected