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

Method writeBool

Fleece/Support/JSONEncoder.hh:47–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45
46 void writeNull() {comma(); _out << slice("null");}
47 void writeBool(bool b) {comma(); _out.write(b ? "true"_sl : "false"_sl);}
48
49 void writeInt(int64_t i) {_writeInt("%lld", i);}
50 void writeUInt(uint64_t i) {_writeInt("%llu", i);}

Callers

nothing calls this directly

Calls 1

writeMethod · 0.45

Tested by

no test coverage detected