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

Method assign

Sming/Core/Data/CString.h:49–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47 ~CString() = default;
48
49 void assign(const String& src)
50 {
51 if(src) {
52 assign(src.c_str(), src.length());
53 } else {
54 reset();
55 }
56 }
57
58 void assign(const char* src)
59 {

Callers 3

startMqttClientFunction · 0.45
startWebServerFunction · 0.45
startMqttClientFunction · 0.45

Calls 2

c_strMethod · 0.45
lengthMethod · 0.45

Tested by

no test coverage detected