MCPcopy Create free account
hub / github.com/PricelessToolkit/MailBoxGuard / c_str

Method c_str

Code/Arduino_libraries/SSD1306/OLEDDisplay.h:52–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50 String(const char *s) { _str = s; };
51 int length() { return strlen(_str); };
52 const char *c_str() { return _str; };
53 void toCharArray(char *buf, unsigned int bufsize, unsigned int index = 0) const {
54 memcpy(buf, _str + index, std::min(bufsize, strlen(_str)));
55 };

Callers 8

urlEncodeFunction · 0.45
drawStringMethod · 0.45
drawStringfMethod · 0.45
drawStringMaxWidthMethod · 0.45
getStringWidthMethod · 0.45
utf8asciiMethod · 0.45
sendGetHAMethod · 0.45
sendPostHAMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected