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

Function stringGetChars

src/ArduinoJson/Strings/StringAdapters.hpp:65–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

63
64template <typename TAdaptedString>
65static void stringGetChars(TAdaptedString s, char* p, size_t n) {
66 ARDUINOJSON_ASSERT(s.size() <= n);
67 for (size_t i = 0; i < n; i++) {
68 p[i] = s[i];
69 }
70}
71
72ARDUINOJSON_END_PRIVATE_NAMESPACE

Callers 1

addFunction · 0.50

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected