MCPcopy Create free account
hub / github.com/bblanchon/ArduinoJson / printTo

Method printTo

extras/tests/Misc/printable.cpp:38–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36 PrintableString(const char* s) : str_(s), total_(0) {}
37
38 virtual size_t printTo(Print& p) const {
39 size_t result = PrintPolicy::printStringTo(str_, p);
40 total_ += result;
41 return result;
42 }
43
44 size_t totalBytesWritten() const {
45 return total_;

Callers 1

convertToJsonFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected