MCPcopy Create free account
hub / github.com/SmingHub/Sming / setString

Method setString

Sming/Wiring/WString.cpp:96–103  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

94}
95
96void String::setString(const char* cstr)
97{
98 if(cstr) {
99 copy(cstr, strlen(cstr));
100 } else {
101 invalidate();
102 }
103}
104
105void String::setString(const char* cstr, size_t length)
106{

Callers 4

startScanMethod · 0.80
setPasswordMethod · 0.80
getStringMethod · 0.80
getValueMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected