FastLED 3.10.10
Loading...
Searching...
No Matches

◆ setView()

void fl::basic_string::setView ( const char * data,
fl::size len )
protected

Definition at line 1356 of file basic_string.cpp.hpp.

1356 {
1357 if (data && len > 0) {
1358 mLength = len;
1359 mStorage = ConstView(data, len);
1360 }
1361}
fl::variant< NotNullStringHolderPtr, ConstLiteral, ConstView > mStorage
const char * data() const FL_NO_EXCEPT

References data(), fl::FL_NO_EXCEPT, mLength, and mStorage.

Referenced by operator=().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: