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

Method writePointer

Fleece/Core/Encoder.cc:564–566  ·  view source on GitHub ↗

Parameter p is an offset into the current stream, not taking into account the base.

Source from the content-addressed store, hash-verified

562
563 // Parameter p is an offset into the current stream, not taking into account the base.
564 void Encoder::writePointer(ssize_t p) {
565 new (placeItem()) Pointer(_base.size + p, kWide);
566 }
567
568 // Check whether any pointers in _items can't fit in a narrow Value:
569 void Encoder::checkPointerWidths(valueArray *items, size_t pointerOrigin) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected