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

◆ starts_with() [3/3]

bool fl::string_view::starts_with ( string_view sv) const
inline

Definition at line 387 of file string_view.h.

387 {
388 if (sv.mSize > mSize) return false;
389 for (fl::size i = 0; i < sv.mSize; ++i) {
390 if (mData[i] != sv.mData[i]) return false;
391 }
392 return true;
393 }
const char * mData

References string_view(), FL_NOEXCEPT, mData, and mSize.

Referenced by fl::createSerialRequestSource(), and starts_with().

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