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

Function writeOutput

Tool/fleece_tool.cc:105–112  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

103
104
105static void writeOutput(slice output, bool asHex =false) {
106 if (asHex) {
107 string hex = output.hexString();
108 fputs(hex.c_str(), stdout);
109 } else {
110 fwrite(output.buf, 1, output.size, stdout);
111 }
112}
113
114
115int main(int argc, const char * argv[]) {

Callers 1

mainFunction · 0.85

Calls 1

hexStringMethod · 0.80

Tested by

no test coverage detected