FastLED 3.9.15
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages

◆ clear()

template<size_t SIZE = 64>
void fl::StrN< SIZE >::clear ( bool freeMemory = false)
inline

Definition at line 337 of file str.h.

337 {
338 mLength = 0;
339 if (freeMemory && mHeapData) {
340 mHeapData.reset();
341 }
342 }
size_t mLength
Definition str.h:109
StringHolderPtr mHeapData
Definition str.h:111

References mHeapData, and mLength.