Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SmingHub/Sming
/ operator[]
Method
operator[]
Sming/Wiring/WString.cpp:658–664 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
656
}
657
658
char String::operator[](size_t index) const
659
{
660
if(index >= length()) {
661
return
'\0'
;
662
}
663
return cbuffer()[index];
664
}
665
666
size_t String::getBytes(unsigned char* buf, size_t bufsize, size_t index) const
667
{
Callers
1
MacAddress
Class · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected