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

Function FLEncoder_Amend

Fleece/API_Impl/Fleece.cc:609–615  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

607}
608
609void FLEncoder_Amend(FLEncoder e, FLSlice base, bool reuseStrings, bool externPointers) FLAPI {
610 if (e->isFleece() && base.size > 0) {
611 e->fleeceEncoder->setBase(base, externPointers);
612 if(reuseStrings)
613 e->fleeceEncoder->reuseBaseStrings();
614 }
615}
616
617FLSlice FLEncoder_GetBase(FLEncoder e) FLAPI {
618 if (e->isFleece())

Callers 1

amendMethod · 0.85

Calls 3

isFleeceMethod · 0.80
setBaseMethod · 0.80
reuseBaseStringsMethod · 0.80

Tested by

no test coverage detected