FastLED 3.9.15
Loading...
Searching...
No Matches

◆ setView()

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

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

1307 {
1308 if (data && len > 0) {
1309 mLength = len;
1310 mStorage = ConstView(data, len);
1311 }
1312}
const char * data() const FL_NOEXCEPT
fl::variant< NotNullStringHolderPtr, ConstLiteral, ConstView > mStorage

References data(), mLength, and mStorage.

Referenced by operator=().

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