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

Method initAsCopyOf

Fleece/Integration/MArray.hh:52–56  ·  view source on GitHub ↗

Copies the MArray a into the receiver. */

Source from the content-addressed store, hash-verified

50
51 /** Copies the MArray a into the receiver. */
52 void initAsCopyOf(const MArray &a, bool isMutable) {
53 MCollection::initAsCopyOf(a, isMutable);
54 _array = a._array;
55 _vec = a._vec;
56 }
57
58 Array baseArray() const {
59 return _array;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected