We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 75c1db5 commit b8c56daCopy full SHA for b8c56da
api/String.h
@@ -69,6 +69,7 @@ class String
69
// be false).
70
String(const char *cstr = "");
71
String(const char *cstr, unsigned int length);
72
+ String(const uint8_t *cstr, unsigned int length) : String((const char*)cstr, length) {}
73
String(const String &str);
74
String(const __FlashStringHelper *str);
75
#if __cplusplus >= 201103L || defined(__GXX_EXPERIMENTAL_CXX0X__)
0 commit comments