Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
startMqttClient
Function · 0.45
startWebServer
Function · 0.45
startMqttClient
Function · 0.45
Calls
2
c_str
Method · 0.45
length
Method · 0.45
Tested by
no test coverage detected