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

Method valueIsInBase

Fleece/Core/Encoder.cc:559–561  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

557 // without having to write negative numbers as positions.
558
559 bool Encoder::valueIsInBase(const Value *value) const {
560 return _base && value >= _base.buf && value < (const void*)_base.end();
561 }
562
563 // Parameter p is an offset into the current stream, not taking into account the base.
564 void Encoder::writePointer(ssize_t p) {

Callers 2

writeToMethod · 0.80
_patchDictMethod · 0.80

Calls 1

endMethod · 0.45

Tested by

no test coverage detected