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

Method isEmpty

Fleece/Core/Encoder.hh:60–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58 bool valueIsInBase(const Value *value) const;
59
60 bool isEmpty() const {return _out.length() == 0 && _stackDepth == 1 && _items->empty();}
61 size_t bytesWritten() const {return _out.length();} // may be an underestimate
62
63 /** Ends encoding, writing the last of the data to the Writer. */

Callers 1

EncoderTests.ccFile · 0.45

Calls 2

lengthMethod · 0.80
emptyMethod · 0.45

Tested by

no test coverage detected