FastLED 3.10.6
Loading...
Searching...
No Matches

◆ setView()

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

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

1331 {
1332 if (data && len > 0) {
1333 mLength = len;
1334 mStorage = ConstView(data, len);
1335 }
1336}
fl::variant< NotNullStringHolderPtr, ConstLiteral, ConstView > mStorage
const char * data() const FL_NO_EXCEPT

References data(), mLength, and mStorage.

Referenced by operator=().

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