Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
64
template <typename TAdaptedString>
65
static 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
72
ARDUINOJSON_END_PRIVATE_NAMESPACE
Callers
1
add
Function · 0.50
Calls
1
size
Method · 0.45
Tested by
no test coverage detected